E
edmarw
Hi,
Just for information, might help someone:
One of our partners installed a new SSL certificate, and suddenly our
HTTPS connections to them using C# .NET 1.1, started failing with this
exception:
---> System.Net.WebException:
The underlying connection was closed: Could not establish secure
channel for SSL/TLS.
---> System.ComponentModel.Win32Exception:
The function completed successfully, but must be called again to
complete the context
--- End of inner exception stack trace ---
We searched the Web and Google Groups quite a bit, but it took a long
while to find a solution. Taking a hint from
http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_21254792.html
, we set
HttpWebRequest request;
// Instantiate request, blabla
request.AllowAllowWriteStreamBuffering = true; // This is what fixed
it.
// Make request, blabla
Anyway, just thought it might help.
Cheers,
Edmar
Just for information, might help someone:
One of our partners installed a new SSL certificate, and suddenly our
HTTPS connections to them using C# .NET 1.1, started failing with this
exception:
---> System.Net.WebException:
The underlying connection was closed: Could not establish secure
channel for SSL/TLS.
---> System.ComponentModel.Win32Exception:
The function completed successfully, but must be called again to
complete the context
--- End of inner exception stack trace ---
We searched the Web and Google Groups quite a bit, but it took a long
while to find a solution. Taking a hint from
http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_21254792.html
, we set
HttpWebRequest request;
// Instantiate request, blabla
request.AllowAllowWriteStreamBuffering = true; // This is what fixed
it.
// Make request, blabla
Anyway, just thought it might help.
Cheers,
Edmar