When buying a code-signing certificate, what are the merits of starting with a PKCS12 versus JKS certificate? Some vendors give instructions on starting with a JKS or PKCS12 ce
In case you have JKS key store you can convert to PKCS12 using the below commands
keytool -importkeystore -srckeypass secret -destkeypass meow123 -srcstorepass secretstore -deststorepass secretstore -srcalias certforsigning -destalias certforsigning -srcalias certforencryption -destalias certforencryption -srckeystore my_java_keystore.jks -destkeystore PFX_keystore.pfx -deststoretype PKCS12
where my_java_keystore.jks is the java key store that has two keys with alias certforsigning and certforencryption
and you can also convert the keys from PKCS12 to JKS using Keytool