Convert .cer certificate to .jks

前端 未结 4 916
伪装坚强ぢ
伪装坚强ぢ 2021-01-31 08:43

I need to convert a .cer file to a .jks file. I saw a few questions about it, but haven\'t seen a solution to what I need.

I don\'t need it in

4条回答
  •  时光说笑
    2021-01-31 09:14

    Just to be sure that this is really the "conversion" you need, please note that jks files are keystores, a file format used to store more than one certificate and allows you to retrieve them programmatically using the Java security API, it's not a one-to-one conversion between equivalent formats.

    So, if you just want to import that certificate in a new ad-hoc keystore you can do it with Keystore Explorer, a graphical tool. You'll be able to modify the keystore and the certificates contained therein like you would have done with the java terminal utilities like keytool (but in a more accessible way).

提交回复
热议问题