How to connect with TLS1/SSL3 disabled

Our website is using .net framework 4.5. The website is connecting to an azure database with a connection string. When we disabled SSL3.0 and TLS 1.0 we get this error

Error: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
________________________________________
Source: .Net SqlClient Data Provider 

I found some one who has a similar issue here: http://www.sqlservercentral.com/Forums/Topic1714941-2571-1.aspx#bm1718159

This was the reply from one of the other users, "In order to connect, you will have to upgrade to .NET4.6, since this is the one that supports the TLS1.1/1.2 for now. We are working towards adding support to older providers as well, but we do not have dates yet."

Doesn't 4.5 support TLS1.1/1.2 as they are configurable settings in the ServicePointManager?If it can then how can I make it work in . net 4.5?

September 10th, 2015 10:16am

Hi pb88,

The reply you found is correct. You will have to use .NET 4.6 in order to connect with TLS 1.2. Support for older TLS versions is currently in our plans.

Thanks,

Andrea

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 2:55pm

Hi pb88,

The reply you found is correct. You will have to use .NET 4.6 in order to connect with TLS 1.2. Support for older TLS versions is currently in our plans.

Thanks,

Andrea

September 11th, 2015 6:53pm

Hi pb88,

The reply you found is correct. You will have to use .NET 4.6 in order to connect with TLS 1.2. Support for older TLS versions is currently in our plans.

Thanks,

Andrea

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 6:53pm

If TLS 1.2 is only supported for now, then couldn't you use .net 4.5 as that supports TLS 1.2?
September 14th, 2015 10:40am

Hi pb88,

.NET 4.5 does not support TLS 1.2 to connect to SQL. We are currently planning to provide support for TLS 1.1 and 1.2 on .NET 4.5. Until then, we recommend upgrading to .NET 4.6 to connect with TLS 1.2.

Thanks,

Andrea

Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 6:42pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics