Reputation: 49
I have been trying to run am ASP.Net application on localhost which uses claim based identity and it is failing with the following error.
Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindByThumbprint', FindValue 'ee1e51a864c7f4a8d3085d0dad127a2b1a814858'.
I have the following piece of code in web.config
<behaviors>
<endpointBehaviors>
<behavior name="PSBehavior">
<clientCredentials>
<clientCertificate findValue="ee1e51a864c7f4a8d3085d0dad127a2b1a814858" storeLocation="LocalMachine" storeName="My" x509FindType="FindByThumbprint" />
<serviceCertificate>
<defaultCertificate findValue="ee1e51a864c7f4a8d3085d0dad127a2b1a814858" storeLocation="LocalMachine" storeName="My" x509FindType="FindByThumbprint" />
<authentication certificateValidationMode="None" />
</serviceCertificate>
</clientCredentials>
<PeopleSoftFixDateBehavior />
</behavior>
</endpointBehaviors>
</behaviors>
Where do I need to check for this certificate? and how to create a new one if it does not exist?
Thank you
Upvotes: 0
Views: 88