开发者

X.509 certificate cannot be found by WCF service

开发者 https://www.devze.com 2023-02-13 05:25 出处:网络
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:

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 开发者_如何学Goappears. I guess IIS cannot use the certificate because of lack of permission.

How can I fix this ?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消