Previous Next JavaScript must be enabled to correctly display this content

## 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 3-1

    keytool -export -v -alias OBVAMCert -file AdminOBVAMCert.cer
    -keystore AdminOBVAMKeyStore.jks -keypass Oracle123 -storepass Oracle123

If successful, the following message is displayed.

Certificate stored in file `< AdminOBVAMCert.cer>`

Parent topic: Obtain the Identity Store