尝试解析我的令牌时遇到以下错误:
Property name: 'certificateReference'
Error: 'ID1025: Cannot find a unique certificate that matches the criteria.
StoreName: 'My'
StoreLocation: 'LocalMachine'
X509FindType: 'FindByThumbprint'
FindValue: '41a8a59e537d4a00a8c4fa8dc2522388dbd13d27'
我的 web.config 中的部分是:
<serviceCertificate>`
<certificateReference x509FindType="FindByThumbprint" findValue="41A8A59E537D4A00A8C4FA8DC2522388DBD13D27" storeLocation="LocalMachine" storeName="My" />
</serviceCertificate>
我已经确认证书存在于 IIS、MMC 和 Internet Explorer 中,并尝试将查找类型更改为主题但无济于事。我还尝试将指纹设置为大写、小写、带空格和不带空格。我还确认证书存在 LocalMachine\My ,结果如下:
Matching certificate:
CN=kelly-pc
可以访问私钥的其他帐户和组包括:
NT AUTHORITY\SYSTEM
BUILTIN\Administrators
KELLY-PC\Kelly
BUILTIN\IIS_IUSRS