3.4 Export Private Key as Certificate
You need to export the private key as a certificate to obtain the identity store.
To export the private key, use the comment given below:
keytool -export -v -alias <alias_name> -file
<export_certificate_file_name_with_location.cer> -keystore
<keystore_name.jks> > -keypass <Private key Password> -storepass <Store
Password>
For example:
keytool -export -v -alias OBREMOCert -file AdminOBREMOCert.cer -keystore
AdminOBREMOKeyStore.jks -keypass Oracle123 -storepass Oracle123
If successful, the following message will be displayed:
Certificate stored in file < AdminOBREMOCert.cer>
- About Obtaining and Importing Trusted Certificate
The Trusted Certificate needs to be obtained from the CA and imported into the identity store.
Parent topic: Obtaining the Identity Store