Press "Enter" to skip to content

Windows Server 2008-2012 | The request was aborted: Could not create SSL/TLS secure channel – (Resolved)

If you are not able to connect to an HTTPS server using WebRequest and you get the following error:

The request was aborted: Could not create SSL/TLS secure channel.

Then their might be few problems with your application or the server itself:

1. You are using outdated or deprecated protocols like SSL3.0, TLS 1.0, TLS 1.1:

The solution to this, in .NET 4.5 is

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

If you don’t have .NET 4.5 then use

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;

2. Cipher Suite Mismatch between the two servers or In Internet Explorer 11, attempting to connect to https://tls.example.com failed.  Error message: “Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to again. If this error persists, contact your site administrator.”

This happens if the cipher suite sent from your server does not match the remote server’s cipher.

The solution is to add the missing cipher in your server.

Here is a nice little tool that helps you to configure the CipherSuites as you want it.

https://www.nartac.com/Products/IISCrypto

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *