Visa Developer Community

Regular Visitor

C# Web API Test Call

Hello everyone,i am having problems calling the visa url  sandbox for authentication testing purposes using c#  but i keep getting the error.

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

Any help would be appreciated.



Community Scholar

Re: C# Web API Test Call



Thanks for asking your question in the Visa community forum. Can you please let me know what API you were trying to call?


To resolve the error, please create a new .p12 using the command line below.
Command line:
openssl pkcs12 -export -out p12certfile.p12 -inkey example-key.pem -in cert.pem
After that, please try to call the helloworld method and see if you get a succesful response. If the error persists, can you please share your request header and snapshots of the error?

Thank you,


Regular Visitor

Re: C# Web API Test Call

Thanks DianaTran-Yee for the reply.It worked.