SSL Connection?
-
Using a .net library (framework 1.1) I post xml to a https url which uses a certificate for authentication. When my library is called from a console application everything runs great. When it is run via asp.net I get the following error:
The underlying connection was closed: Could not establish secure channel for SSL/TLS.
Using Marc Merritt's 'Windows Impersonation using C#' article as a reference I impersonated myself in an attempt to resolve the problem. This was unsuccessful. I appreciate any direction you can provide in resolving this issue. Thank you, -
Using a .net library (framework 1.1) I post xml to a https url which uses a certificate for authentication. When my library is called from a console application everything runs great. When it is run via asp.net I get the following error:
The underlying connection was closed: Could not establish secure channel for SSL/TLS.
Using Marc Merritt's 'Windows Impersonation using C#' article as a reference I impersonated myself in an attempt to resolve the problem. This was unsuccessful. I appreciate any direction you can provide in resolving this issue. Thank you,Jason, What operating system are you running this example on where it fails? If it's Windows 2000 LogonUser requires the
SE_TCB_NAME
priviledge. You will need to give the ASPNET user account Act as Part of the Operating System user right through the Local System Policy. This is not needed with Windows XP and Windows 2003.- Nick Parker Microsoft MVP - Visual C#
My Blog | My Articles -
Jason, What operating system are you running this example on where it fails? If it's Windows 2000 LogonUser requires the
SE_TCB_NAME
priviledge. You will need to give the ASPNET user account Act as Part of the Operating System user right through the Local System Policy. This is not needed with Windows XP and Windows 2003.- Nick Parker Microsoft MVP - Visual C#
My Blog | My ArticlesI'm running Windows XP Professional Service Pack 2 - thoughts?
-
Jason, What operating system are you running this example on where it fails? If it's Windows 2000 LogonUser requires the
SE_TCB_NAME
priviledge. You will need to give the ASPNET user account Act as Part of the Operating System user right through the Local System Policy. This is not needed with Windows XP and Windows 2003.- Nick Parker Microsoft MVP - Visual C#
My Blog | My ArticlesLooking at the LogonUser could the problem be with the dwLogonType (LOGON32_LOGON_INTERACTIVE) I am using?
-
Jason, What operating system are you running this example on where it fails? If it's Windows 2000 LogonUser requires the
SE_TCB_NAME
priviledge. You will need to give the ASPNET user account Act as Part of the Operating System user right through the Local System Policy. This is not needed with Windows XP and Windows 2003.- Nick Parker Microsoft MVP - Visual C#
My Blog | My ArticlesProblem resolved - the certificate was setup for the current user but not for the local computer. Thanks for your help; do you happen to know of a good article on certificates?