Visa Developer Community

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?

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;

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,

Newbie

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

 It worked !!

Highlighted
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