Could not create SSL/TLS secure channel
Have you ever came across the following error 'The request was aborted: Could not create SSL/TLS secure channel' when trying to connect to a remote website.
In this quick post, I'll show you how when I came across this problem, I was able to fix it.
The problem typically occurs when your server only offers SSLv3 and TLSv10, but the client you are connecting to needs TLSv12.
Because of this, you need to ensure that the server and client have a standard protocol supported.
The way I fix this problem is with the following line of code below, just above the code that makes the remote call, for example, a HttpWebRequest or WebClient.
In this quick post, I explained how you could get the 'The request was aborted Could not create SSL/TLS secure channel' error and how to fix the problem.
I hope you found this blog helpful and if you have any comments, please use the form below.