I am having trouble referencing x.509 certificates once a web service is deployed on azure. The error I get is:
Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'LocalMachine', FindType 'FindByThumbprint', FindValue 'd50d00762ab0b5bfa2ccd51122360e89ff5db55e'
I have tried various StoreName and Location permutations and no success. Part of my config is as follows:
<behaviors>
<endpointBehaviors>
<behavior name="ClientCredentialsBehavior">
<clientCredentials>
<clientCertificate findValue="D50D00762AB0B5BFA2CCD51122360E89FF5DB55E" storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindByThumbprint"/>
<serviceCertificate>
<defaultCertificate findValue="E194EBAAFBE5129D097795751127D21577293A87" storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindByThumbprint"/>
</serviceCertificate>
</clientCredentials>
</behavior>
How do I solve this error on azure. Please help me I have spent hours now trying to solve this issue. Thank you.