Here, we are converting from PKCS12 file format to JKS
Use the following command to perform the conversion:
$ keytool -importkeystore -srckeystore pramodtruststore-stage.pkcs12 -srcalias pramodroot -destkeystore pramodtruststore_stage_new.jks -deststoretype jks -deststorepass Tigergraph0099 -destalias pramodroot
Note: In the new truststore "pramodtruststore_stage_new.jks" we kept the alias name as same "pramodroot"
***
No comments:
Post a Comment