【问题标题】:why signtool remove certificate为什么signtool删除证书
【发布时间】:2022-10-25 01:01:28
【问题描述】:

我正在使用signTool。我正在签署这样的证书:

 signtool sign /debug /s My /n "%signer%" /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a "My.exe"

它使用新证书“签名者”签名,但所有其他证书都被删除。为什么会这样,我将如何保留旧的。

【问题讨论】:

    标签: certificate signtool


    【解决方案1】:

    因为您没有在命令行参数中指定 signtool.exe 应该附加如果其他签名已经存在,则签名:

    /as         Append this signature. If no primary signature is present, this
                signature will be made the primary signature instead.
    

    【讨论】:

      猜你喜欢
      • 2021-10-02
      • 1970-01-01
      • 2023-04-02
      • 1970-01-01
      • 2023-03-06
      • 1970-01-01
      • 2011-05-21
      • 1970-01-01
      • 2017-09-16
      相关资源
      最近更新 更多