我已经将证书导入到私有~/.keystore
文件中:
keytool -list
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
mylyn-mantis, Jul 15, 2010, trustedCertEntry
我试图用它来给jar签名,但是我得到了一个“证书链未找到”的错误。
jarsigner -verbose /home/robert/file.jar mylyn-mantis
jarsigner: Certificate chain not found for: mylyn-mantis. mylyn-mantis must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
我该如何解决这个问题?
发布于 2010-07-15 21:30:30
您的密钥库似乎只包含一个证书(公钥)您需要一个完整的密钥条目和一个私钥,以及整个证书链才能对任何内容进行签名
https://stackoverflow.com/questions/3255836
复制相似问题