gpt4 book ai didi

x509certificate - 找不到符合条件的唯一证书

转载 作者:行者123 更新时间:2023-12-02 23:06:03 24 4
gpt4 key购买 nike

尝试解析我的 token 时遇到以下错误:

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

最佳答案

我遇到了完全相同的问题。通过在 Notepad++(不是记事本)中复制我的 web.config 部分,我看到了一个不可见的字符:

<serviceCertificate>
<certificateReference x509FindType="FindByThumbprint" findValue="?e36df2f3e351a25adf8ffb6ad3619f10238f0317" />
</serviceCertificate>

删除这个字符就可以了。

如果没有 Notepad++,您只需在指纹值前面按退格键即可(尝试删除“字符。

关于x509certificate - 找不到符合条件的唯一证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3242959/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com