Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Webservices X509 with Client Certificates

$
0
0

Dear All,

I am developing a web application in .net that needs to serve clientes that has X509 certificates . my webapp needs to call remote webservices from another provides (government servers) that uses the x509 authentication.

I already developed and tested the page using a certfiicate store in the local system using the call below

GovernmentWebservice.ClientCredentials.ClientCertificate.SetCertificate(StoreLocation.LocalMachine, StoreName.My , X509FindType.FindBySubjectName,"MY CERTIFICATION SUBJECT NAME");

But this becomes a problem because I need to use the certificate sent by the client when he connected to my webpage (Request.ClientCertificate.Certificate). I found that the call of the remote webservice only works with certificates stored in my local machine. Anyone knows any workaround so I can use my clients certificate to call the other webservice????

Thanks,


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>