Visa Developer Community

Highlighted
Regular Visitor

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

Hi, 

     Downloaded the sample code in C#. Created the p12certfile.p12 file using the command.

openssl pkcs12 -export -out p12certfile.p12 -inkey key_file.pem -in cert.pem

 

Ran the test and it gave me "The request was aborted: Could not create SSL/TLS secure channel" error. Any solutions ?

1 REPLY
Community Scholar

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

Hi @asraro,

 

Please check if the traffic is being sent over from TLS version 1.2. If you are testing using SoapUI, please check if the following VM option is added to this file SoapUI-x.y.z.vmoptions.


-Dsoapui.https.protocols=TLSv1.2 should go into the file as a line item.

Thanks,
Diana