3.4 Export Private Key as Certificate
This topic provides the information to export private key as certificate.
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>
Example:
keytool -export -v -alias OBSCFCert -file AdminOBSCFCert.cer -keystore AdminOBSCFKeyStore.jks
-keypass Oracle123 -storepass Oracle123
If successful, the following message is displayed:
Certificate stored in file < AdminOBSCFCert.cer>
- Obtain Trusted Certificate from CA
This topic provides the information to obtain the trusted certificate from CA. - Convert .crt and .key file to PKC12 file
This topic provides the systematic instruction to convert .crt and .key file to PKC12 file. - Import Certificate into Identity Store
This topic provides information to import the certificate into identify store.
Parent topic: Obtain the Identity Store