.NET 2.0 Windows 2003 issue with TLS 1.0

176 Views Asked by At

Env: Windows 2003 Standard SP2, .Net 2.0 / 4.0

I have an app that is trying to access https site which has enabled TLS 1.0.

     var response = (HttpWebResponse)webRequest.GetResponse();
     var responseContent = new StreamReader(response.GetResponseStream()).ReadToEnd();

Every time, GetResponse() fails with "The operation has timed out" exception.

Note that IE 6 also could not open the page. I've enabled TLS 1.0 in internet options. Similar problem happens on Windows 2008 SP2 x86. On newer Windows versions the https request works without exceptions.

Configuring Tls in C# also didn't help:

 System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls;

Is there any know issue related to Tls 1.0 that I'm missing?

0

There are 0 best solutions below