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:
![](https://knowledgeouts.com/storage/2022/03/Firefox_Security_Info_thumb5.png)
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.”
![](https://knowledgeouts.com/storage/2022/03/IE11_TLS_Error_thumb7.png)
This happens if the cipher suite sent from your server does not match the remote server’s cipher.
![](https://knowledgeouts.com/storage/2022/03/missing-cipher.png)
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
![](https://knowledgeouts.com/storage/2022/03/add-cipher.png)