我是新来配置Jetty服务器的SSL。我按照digcert的步骤创建了私钥文件,证书请求 CSR文件。从私钥和CA证书包创建java密钥库
我向CA发送了证书申请并获得了签名的CSR。但CA向我发送了一个包含两个证书的包,其中一个是我的CA证书,另一个是CA证书(1. star_xyx_abc_com crt文件,2.DigiCertCA crt文件)。现在我面临从这些文件创建密钥库的麻烦。
当我使用密钥工具通过以下步骤Oracle docs 4,5和6来创建密钥库,我得到一个错误
keytool error: java.lang.Exception: Certificate not imported, alias already exists.
当我用的OpenSSL创建PKCS12我
Loading 'screen' into random state - done
Error unable to get issuer certificate getting chain.
错误。
如何从私钥文件生成KeyStore,我的证书由CA和CA证书签名?
感谢dave_thompsom_085我跟着你的建议,并安装了我的证书。 –