Reputation: 11
I have an issue while converting .jks
to .p12
bash-4.1$ keytool -importkeystore -srckeystore adorbcert.jks -srcstoretype JKS -deststoretype PKCS12 -destkeystore adorbcert.p12
Enter destination keystore password:
Enter source keystore password:
Problem importing entry for alias adorbcerts: java.security.KeyStoreException: TrustedCertEntry not supported.
and I am using java
java version "1.7.0_91"
Java(TM) SE Runtime Environment (build 1.7.0_91-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.91-b03, mixed mode)
Upvotes: 1
Views: 1634
Reputation: 692
It is not possible with keytool from Java 7 or earlier, but it is with Java 8.
Also the keystore type only needs to be specified if it is not JKS.
Upvotes: 2