Cannot load the X.509 certificate identity specified in the configuration

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

By authenticating of service’s endpoint following configuration can be used:

 

<identity>

  <certificateReference storeName="My"

      storeLocation="CurrentUser"              

      x509FindType="FindBySubjectName"

      findValue="www.testsvc.eu.crt" />

</identity>

 

In same cases this can cause the client to throw following exception during start-up:

 

An unhandled exception of type 'System.InvalidOperationException' occurred in System.ServiceModel.dll

 

Additional information: Cannot load the X.509 certificate identity specified in the configuration.

 

This exception means that client cannot load the certificate (in this case: www.testsvc.eu.crt) from the following location:

Certificates – CurrentUser/Personal/Cerificates.

 

To fix the problem, just copy the certificate of the service to that location. For this action the MMC snap-in “Certificates” can be used.

 

 

 


Posted Oct 01 2006, 12:37 AM by Damir Dobric
Filed under:
developers.de is a .Net Community Blog powered by daenet GmbH.