我是新來配置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我跟着你的建議,並安裝了我的證書。 –