There are two passwords involved: the keystore password (KeyStorePassword
) and the key password (KeyManagerPassword
). For PKCS#12 store, they are the same.
Since you've imported the key from the PKCS#12 store into the JKS store using the keystore's password, that doesn't mean that the password of the key itself was changed, and it's probably not "keypwd"
(Jetty's default). Try to replace the value of KeyManagerPassword
with your PKCS#12 store's password.
(Note that in general, you don't need to convert the keystore, you could have used PKCS12
as the KeyStoreType.)