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

amdata
Helper

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

In a .Net environment, the following code eliminates the error. ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

amdata
Helper

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

I am experiencing the same problem.  What worked?

shazia1
Newbie

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

Pls. let me know how it was fixed? I am experiencing the same problem.

 

Regards,

amdata
Helper

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

Hi Ricardo, 

 

I am experiencing the same problem.  I have successful attempts in SOAP UI but unsuccessful attempts in c# environment.  Are you suggesting that the fix is in the openSSL statement that you provided?

Morne
Newbie

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

I had the same issue using c# (4.5.2). Just add the following lines before you send the request:

 

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
request.ProtocolVersion = HttpVersion.Version10;

feyofeyo
Occasional Visitor

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

Hi, in my case. Capture.PNGGo to propierties of project and update the target Framework from 4.5.2 to 4.6.1 and voilà!