win7 给软件加数字签名失败

lxslove 2013-02-18 12:19:13
不知道为何,在xp下是可以成功的,但到了win7下就失败了
我用的是管理员账号,权限应该是没问题的。
.\signtool\signtool sign /p 12345 /f .\signtool\myCert.pfx /d "广州xx有限公司" /du "http://www.xx.com" .\launcher.exe

在win7下,出错提示为:
Done Adding Additional Store
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: SignerSign() failed." (-2146893808/0x80090010)
...全文
1140 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
赵4老师 2013-11-27
  • 打赏
  • 举报
回复
-2146893808 拒绝访问。 试试“以管理员身份运行”
wwwweiwei1987 2013-11-27
  • 打赏
  • 举报
回复
先生,不知道你这个问题是怎样解决的啊!
sunfish_iris 2013-03-28
  • 打赏
  • 举报
回复
是不是证书超过了有效期啊.
sunfish_iris 2013-03-06
  • 打赏
  • 举报
回复
SignTool Error: An unexpected internal error has occurred. Error information: "Error: SignerSign() failed." (-2146762495/0x800b0101)
whizer 2013-02-22
  • 打赏
  • 举报
回复
可能是依赖文件不对,下面msdn对win7依赖文件的描述,你查查看: 详细信息链接: http://msdn.microsoft.com/zh-cn/library/aa387764

    Windows Server 2008 R2 and Windows 7:  

    If you are using the WinVerifyTrust function to verify multiple embedded signatures or support strong cryptography policy, you must include the following files:

        Microsoft.Windows.Build.Signing.wintrust.dll.manifest
        Wintrust.dll (downlevel version)

    If you want to perform dual signing and make SHA256 catalogs, you must include those files and the following additional files:

        Makecat.exe
        Makecat.exe.manifest
        Microsoft.Windows.Build.Signing.mssign32.dll.manifest
        Mssign32.dll (downlevel version)
        Signtool.exe
        Signtool.exe.manifest

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧