Click here to Skip to main content
15,894,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I am in a little bit trouble. My requirements is I have two different certificates(one for Message, second for transport) from gateway. Now I want to know how can I use these two separate certificate in my application. I have used this code for setting the certificate in case of one certificate

objService.ClientCredentials.ClientCertificate.SetCertificate(StoreLocation.LocalMachine, StoreName.My, X509FindType.FindByThumbprint, "12 56 d5 7f 8c 8b a1 b8 e9 85 f8 2d 6c 6a 16 89 19 42 db a8");


Now, how can I use two certificate ??? very confused.

Please Help

Thanks in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900