how to convert openssl to keytool 1

how to convert openssl to keytool

openssl pkcs12 -export -in example.crt -inkey example.key -out keystore.pkcs12

Here is what the above code is Doing:
1. Create a new keystore.pkcs12 file.
2. Import the example.crt file into the keystore.pkcs12 file.
3. Import the example.key file into the keystore.pkcs12 file.
4. Export the keystore.pkcs12 file to a new keystore.jks file.
5. Import the keystore.jks file into the keystore.pkcs12 file.
6. Export the keystore.pkcs12 file to a new keystore.jks file.

Similar Posts