I went through the forum article to setup the sandbox for API in c#. I am getting stuck in converting the private certificate to p12 using OpenSSL. I get the error unable to load certificates. and unable to write random state.
Solved! Go to Solution
I went through this article https://community.developer.visa.com/t5/Message-Level-Encryption/How-to-run-C-Sample-Code-for-MLE/m-... - and I am stuck at the step to convert the certificate using openssl
Hi @dsingal,
Have you try the C# sample code without MLE first? Did you get any errors?
I recommend validating your Mutual SSL connection by using a tool such as SOAP UI, Postman or the VDC Playground tool to connect to the GET helloworld endpoint.
Please reference the below Mutual SSL guide below. It has detailed steps and example on how to run the openssl command.
https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl
Here's a step by step guide on how to run the Hello World API with Mutual SSL on Postman.
Once you've validated connectivity is all good, then try the C# sample code and MLE. Hope this helps, please let me know if you have any further questions.