code signing error with install4j

≡放荡痞女 提交于 2019-12-11 09:05:12

问题


When I try to sign my exe using a p12 keystore I get the following error:

codesigning.p12 does not contain the complete certificate chain

However, I can sign it without problem using the windows signTool.exe by executing:

signtool sign /f codesigning.p12 /p $keyStorePassword myprogram.exe

Any ideas how to get this working in install4j?


回答1:


signtool can access intermediate certificates in the Windows keystore, something that install4j does not do.

Other than creating a self-contained certificate (see Adding an intermediate certificates to a pkcs12 file), you can use the "Executable processing" step of the media wizard and call

C:\Path\To\signtool sign /f codesigning.p12 /p $keyStorePassword $EXECUTABLE

to perform external signing of all executables.



来源:https://stackoverflow.com/questions/44025805/code-signing-error-with-install4j

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!