Visual Studio SignTool给出内部错误(0x80100001)

68bkxrlz  于 2023-10-23  发布在  其他
关注(0)|答案(1)|浏览(104)

我刚刚将扩展验证代码签名证书安装到Yubikey 5设备上。
我在VS 2022的开发者命令提示符中称之为:
signtool sign /debug /sha1 <***> /fd SHA256 /t http://tsa.safecreative.org C:\temp\my_app.exe
我得到这个错误:

The following certificate was selected:
Issued to: ***
Issued by: Sectigo Public Code Signing CA EV E36
Expires: Tue Sep 15 02:59:59 2026
SHA1 hash: <***>

Done Adding Additional Store
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: SignerSign() failed." (-2146435071/0x80100001)

怎么修?
我有Windows 10 /22 H2 Windows SDK:10.0.22621
谢谢你

okxuctiv

okxuctiv1#

当您手动将证书导入到证书存储区时,可能会发生此错误。将证书导入Yubikey管理器。导入后,证书应自动出现在证书存储中。正确的步骤张贴在这里-https://www.sectigo.com/knowledge-base/detail/Key-Generation-and-Attestation-with-YubiKey/kA03l000000roEV
如果没有成功,请使用上述说明重新启动该过程,并申请新证书。

相关问题