C# mutual SSL/authentication sample code question

ndtheo
Regular Visitor

C# mutual SSL/authentication sample code question

I have successfully received HTTP responses from the Visa Hello World sandbox endpoint through Postman. However, the same does not occur when using C# code.

 

The C# "Hello World" sample code contains the following code:


public static string userId = "<YOUR USER ID>";
public static string password = "<YOUR PASSWORD>";

public static string cert = "<YOUR CLIENT CERTIFICATE PATH>";
public static string certPassword = "<YOUR CERTIFICATE PASSWORD>";

 

The User ID and password are straightforward, we can find them in the Dashboard -> Credentials section.

The cert is the full path of the client certificate (cert.pem file).

Which is the cert password? Where can we retrieve it?

 

 

2 REPLIES 2
jenn_kh
Community Moderator

Re: C# mutual SSL/authentication sample code question

Thank you for your question, @ndtheo. An agent will get back to you as soon as possible. In the meantime, if any community member knows the solution, please feel free to share it here! -Jenn

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: C# mutual SSL/authentication sample code question

Hi @ndtheo,

 

This is the password that you give when setting up your keystore. Please refer to the Two-Way SSL Guide below and let me know if you have any questions.

https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl


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.