jarsigner密钥库错误

时间:2014-12-09 17:40:04

标签: java keytool jarsigner

我使用keytool命令创建了java程序的密钥:

keytool –genkey –alias chave –validity 10000 –keypass 000005 –keystore “c:\Documents\chave\chave” –storepass 000005;

然后,我用命令签名:

jarsigner –keypass 000005 –storepass 000005 –keystore “c:\Documents\chave\chave” “c:\Projeto\Autenticacao\Autenticacao\dist\Autenticacao.jar” chave;

但是发生了以下错误:

jarsigner error: java.lang.RuntimeException: keystone load: keystore was tampared with, or password was incorrect.

我无法理解错误。

0 个答案:

没有答案