0
votes

I have a WCF service hosted in IIS.

Using certmgr.msc I can see my X.509 certificate in Personal -> Certificates but still I get this error:

Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'CurrentUser', FindType 'FindByThumbprint', FindValue 'b0 5f 3f ...'.

I changed storelocation, find type... but still the same error appears. I guess IIS cannot use the certificate because of lack of permission.

How can I fix this ?

1

1 Answers

0
votes

Right click on the cert, select Manage Private Keys, grant rights to the user under which the IIS app pool is running.