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
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/