Keystore does not work on Java 9

后端 未结 1 911
野趣味
野趣味 2021-01-06 07:38

I\'ve converted a JKS keystore to the P12 format using portecle, but it probably didn\'t go well. The keystore works with Java 8 (various versions), but with Java 9 (OpenJDK

相关标签:
1条回答
  • 2021-01-06 08:07

    The JDK keytool utility can convert a JKS keystore into a PKCS12 keystore. For example, using JDK 9,

    $ keytool -importkeystore -srckeystore ks.jks -destkeystore ks.p12
    

    Also, there have been several keystore enhancements since 2016 so you should use a more recent release of JDK 9, see http://jdk.java.net/9/

    0 讨论(0)
提交回复
热议问题