我有三个文件sample.cert,sample.CA,由Verisign提供的sample.key。 我需要为tomcat创build密钥库。 在我search时,我无法直接使用.key文件来创build密钥库。
我使用的命令如下:
pkcs12 -export -in sample.cert -inkey sample.key -CAfile sample.crt -out sample.p12
(我将sample.CA更改为sample.crt。)
我使用openssl来创buildsample.p12文件。 然后通过使用keytool将sample.p12导入到sample.jsk。
keytool -importkeystore -srckeystore sample.p12 -destkeystore sample.jks -srcstoretype pkcs12
当我validation证书时,显示Intermediate certificate chaining issue 。
任何想法?