【问题标题】:Why is Install4j executable signing not working any more?为什么 Install4j 可执行签名不再起作用?
【发布时间】:2021-03-24 00:11:26
【问题描述】:

我正在尝试构建一个几周前运行良好的 Install4j 项目,但现在它抱怨在签署可执行文件时时间戳服务不可用。我们应该使用其他时间戳服务还是只是暂时离线?

我正在使用 Install4j 7.0.12。

Preparing configuration

Creating media file 'Windows':
  Collecting files:
  Compiling launchers:
    Compiling launcher 'test':
      Signing executable

Build failed.

Cause: java.io.IOException
       http://timestamp.globalsign.com
       You can set a different timestamp signing service by setting the VM parameter -Dinstall4j.timestampUrl=http://... in bin/install4j.vmoptions
       or by setting the compiler variable sys.ext.timestampUrl in your project.
Cause: java.io.FileNotFoundException
       http://timestamp.globalsign.com

【问题讨论】:

    标签: install4j


    【解决方案1】:

    General Settings > Compiler Variables 中添加一个具有以下详细信息的条目似乎可以解决问题:

    sys.ext.timestampUrl = http://timestamp.sectigo.com 
    

    这可能与http://timestamp.verisign.com/scripts/timstamp.dll not available有关。

    【讨论】:

    • 其实已经失效的网址是http://timestamp.globalsign.com。另一个可用的时间戳服务器是http://timestamp.digicert.com,最新版本的 install4j 使用 thsi。此外,您可以将行 -Dinstall4j.timestampUrl=http://timestamp.digicert.com 添加到 bin/install4j.vmoptions。然后它将再次适用于所有项目。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-08-16
    • 1970-01-01
    • 1970-01-01
    • 2014-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多