Hello Guys, I keep getting the error The request was aborted: Could not create SSL/TLS secure channel. when i try call the service. however it works fine when i call the service using soupUI. I am using C# downloaded code to test Visa Direct API.
Solved! Go to Solution.
Please review the Visa Direct documentation via this link - https://developer.visa.com/capabilities/visa_direct/docs
In particular, see the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct.
After having read the documentation, if you meet those requirements, then please click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form. Please let us know if you have other questions.
Did you find the solution for the above error. I am also facing the same issue where I am getting error saying "The request was aborted: Could not create SSL/TLS secure channel." I have tried all the options but no luck.
Its working fine with SOAP UI, but when I try with .NET its not working. Can you please help me on this issue.?
If you are using C# please make a p12 file using the commands from github
You can also refer to manual
The problem could be that you have made a wrong p12 certificate.
Thanks those links helped me. So we need to make sure to generate certificate differently if we are using c#.net
Thanks for your URLs, It worked like charm when I followed those instructions.
It was not working when I tried first time. Again I tried to generate with help of your URL's it worked. Thanks alot.
Due to some security issues, we are not able to upload the code on GitHub. VDP engineering team is workin on this but meanwhille, you can create a project on VDP and get the sample code from the Test Data of the project.
Please follow the steps in the “Get Started” link below to register and create a Visa Developer application.
This guide walks you through the key steps for application creation, credentials, and connection validation.
If you are ready after testing your App in sandbox, send us a production request and we will evaluate your Application and other credentials.
Let me know if you have any additional questions.
I tried different openssl commands to generate the p12 certificate and found that the following works for me:
> openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -out myProject_keyAndCertBundle.p12
See my post on a different thread for more information: