Connect to a https site with a given p12 certificate

后端 未结 5 1341
無奈伤痛
無奈伤痛 2020-12-04 10:32

The server side gave me a .p12 certificate file which I\'ve clicked and installed on my machine and then I can access the HTTPS site through browse

5条回答
  •  执念已碎
    2020-12-04 10:46

    Simple keytool command would export your .p12 keystore into .jks keystore:

    keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12 -deststoretype JKS -destkeystore keystore.jks

提交回复
热议问题