ssl 證書轉化,crt、p12轉換jks(tomcat需要)(windows操作版)

首先安裝一下opnessl

https://www.openssl.org/source/

crt +key 轉 jks(兩步,crt轉 p12 ,p12 轉jks)
pkcs12 -export -in E:/forNginx/_.cn-healthcare.com_bundle.crt -inkey E:/forNginx/_.cn-healthcare.com.key -out E:/forNginx/to.p12
pkcs12 -export -out p.p12 -inkey private.pem -in rsacert.crt
keytool.exe -importkeystore -srckeystore E:/to.p12 -srcstoretype PKCS12 -deststoretype JKS -destkeystore E:/forNginx/keystore.jks

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章