I'm trying to connect to a Web Service from .NET. I am referencing the service in my class library.
I've tried importing the certificate (which is a .p12) into the following places
- Local Computer\Personal\Certificates
- Local Computer\Trusted Root Certificates\Certificates
- Current User\Personal\Certificates
- Current User\Trusted Root Certificates\Certificates
In my Web.config I have the following to set the certificate, but I keep getting an exception back from the web service that says there's no cert.
<clientCredentials>
<clientCertificate findValue="[email protected]" storeName="My" storeLocation="LocalMachine" x509FindType="FindByIssuerName"/>
</clientCredentials>
If more code is needed, please let me know.
Thanks