dsingal
Occasional Visitor

Sandbox Transactions API

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.

Raj Singal
2 REPLIES 2
dsingal
Occasional Visitor

Re: Sandbox Transactions API

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

Raj Singal
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Sandbox Transactions API

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.

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/How-to-run-the-Hello-World-API-with-...

 

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. 


Best,
Stacey

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