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>`

- Obtain Trusted Certificate from CA
  This topic provides the information to obtain the trusted certificate from CA.
- Import Certificate into Identity Store
  This topic provides the information to import the certificate into identify store.

Parent topic: Obtain the Identity Store