C
Chris
I have a HttpWebRequest connecting to a SSL server. The server has a
valid Verisign certifcate installed, so no client-side cert is needed. I
am getting intermittent errors when connecting to the server. One in every
five times I try to connect, I see the error:
"The underlying connection was closed: Could not establish secure
channel for SSL/TLS.)"
I tried using a ICertificatePolicy to allow any certificate, but that
didn't work. The funny thing is when I load my own certificate using:
request.ClientCertificates.Add(X509Certificate.CreateFromCertFile("mycert.cer"));
...I never see the error. However, I don't want to ship the app with a
client cert.
Suggestions?
valid Verisign certifcate installed, so no client-side cert is needed. I
am getting intermittent errors when connecting to the server. One in every
five times I try to connect, I see the error:
"The underlying connection was closed: Could not establish secure
channel for SSL/TLS.)"
I tried using a ICertificatePolicy to allow any certificate, but that
didn't work. The funny thing is when I load my own certificate using:
request.ClientCertificates.Add(X509Certificate.CreateFromCertFile("mycert.cer"));
...I never see the error. However, I don't want to ship the app with a
client cert.
Suggestions?