In this "How-to" guide we will show you how to run the Visa Hello World API with Two-Way SSL (Mutual Authentication) on Postman. The Hello World API is a simple API for testing the connectivity with the Visa Network.
Please refer to the below page for more info. https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl#testing_twoway_ssl_connectivity_...
Before you are able to run the “Hello World” Project, you must create a Visa Developer Portal (VDP) project and get credentials. If you haven't registered yet just click on register here, fill out the account information, agree to the terms and conditions and click on receive emails. Once you have successfully activated your account, you will see your dashboard and you are ready to go.
Once you are there, click on create your first project if this is your first project. On the next page, you will be asked for details, such as project name, description and a list of APIs to choose from.
For this tutorial, we're going to select “Visa Direct” and click create project.
After creating your project, you will be redirected to the project summary page. You can obtain your project credentials by browsing the left side navigation menu of your project and click on “Credentials”.
To be able to make an API call with 2-way SSL authentication, you need to have the following:
You will need to download the project certificate as well as the common certificates - Visa Developer Platform certificate and DigiCert Certificate and save them in the correct directory.
Next, we'll show you how to run the “Hello World API” with Mutual SSL on Postman. Postman is a free and open source API development and testing solution, and can be can be downloaded using below link:
Enter the host: sandbox.visa.api.com
And browser your client certificate and key file and click “Add”.
Want more? Join the Visa Developer Community to get alerts on the latest tutorials, guides and new developer resources. Stay tuned for more in the series.
Well I'm doing the same way but still I can see error message something like this Error: error:0b000074:X.509 certificate routines:OPENSSL_internal:KEY_VALUES_MISMATCH
What could be the reason and how to tackle this problem?
Hi @Amith71965 ,
Did you follow the Step 2 - Configure 2-Way (Mutual) SSL. Looks like you provided a wrong client certificate.
Kindly double check and ensure to provide the correct certificate on Postman for Mutual SSL. The client certificate can be downloaded from your VDP project under the credentials tab.
I hope that helps.