为什么 Install4j 可执行文件签名不再起作用?

时间:2021-03-24 00:11:26

标签: install4j

我正在尝试构建一个几周前运行良好的 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

1 个答案:

答案 0 :(得分:2)

General Settings > Compiler Variables 中添加一个条目,其中包含以下详细信息似乎可以解决问题:

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

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