Re: C# Web API Test Call

Solved! Go to solution
g_tums
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.

 

 

2 REPLIES 2
API_Products
Visa Developer Support Specialist

Re: C# Web API Test Call

Hi,

 

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,
Diana




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

g_tums
Regular Visitor

Re: C# Web API Test Call

Thanks DianaTran-Yee for the reply.It worked.