JKS 和 P12 证书相互转换

  • JKS 转换为 P12

    1
    2
    3
    4
    5
    6
    7
    keytool -importkeystore \
    -srckeystore source.jks \
    -srcstoretype jks \
    -destkeystore target.p12 \
    -deststoretype pkcs12 \
    -srcstorepass source_password \
    -deststorepass target_password