cancel
Showing results for 
Search instead for 
Did you mean: 

TLS 1.2 not working on Windows server 2008 standard machine

I have setup TLS1.2 on windows7 machine where I installed 4.6 framework and made .net code changes under 4.0 and it started working there but when I did same changes on windows server 2008 server then I am getting same error. I am using Asp.net code and framework as 4.0. Please help as my Production is down.

smandola
Contributor
1 REPLY 1

Once you're sure your server's Schannel is using TLS 1.2, upgrade your server application to .NET 4.5 or 4.6. If you're not using a newer version of the SDK, be sure to use the following before your application's webRequest:

 const SslProtocols _Tls12 = (SslProtocols)0x00000C00;
 const SecurityProtocolType Tls12 = (SecurityProtocolType)_Tls12;
 ServicePointManager.SecurityProtocol = Tls12;

 

Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor