Maneesh February 2016

Keytool command to generate a .P12 from a .JKS file

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

Answers


always_a_rookie_to_learn February 2016

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).

Post Status

Asked in February 2016
Viewed 1,176 times
Voted 12
Answered 1 times

Search




Leave an answer