Cale

Cale

  • 0
  • 30
  • 0

SSL HttpWebRequest in C# "Could not create SSL/TLS secure channel."

Jan 22 2009 1:27 PM

I am trying to POST to a remote server useing HttpWebRequest over SSL. I am getting the following error in my trace log:

"AcquireCredentialsHandle() failed with error 0X80090302."

Followed by:

"The request was aborted: Could not create SSL/TLS secure channel."

I see a lot of people having problems with this in ASP.NET and it is a problem with the ASPNET user not having privalages to the cert but I am writing a .Net windows app so I assume it is using the current user credentials to access the cert store.

The cert has a private key and is installed in the local machine store but I still can't figure out why the connection is being dropped by the remote server.


Answers (9)