Reputation: 149
I am trying to generate a .p12 from k .JKS file using the keytool utility provided by JDK.
keytool -importkeystore -srckeystore mykeystore.jks -destkeystore mykeystore.p12 -srcstoretype jks -deststoretype pkcs12
However, this command works only with java 1.6 and above. I need to execute this command from a machine where I do not have JDK 1.6 or a higher one. All I have there is a JDK 1.5.
What would be the equivalent of this command if I have to run it from a JDK 1.5 installation.
Please provide some help here.
Thanks, Maneesh Sharma
Upvotes: 1
Views: 821
Reputation: 4840
You cannot do importkeystore
on Java 5, this feature was introduced from Java 6.
You can refer to the documentation of Java 5 and Java 6.
If you are looking at importing, you can refer to the -import command (pre Java 6).
Upvotes: 0