Viewing a Certificate Version Bundle
View a certificate version bundle to see the contents of a specific certificate version.
- Note
You can't use the Console to view or download the private key. To view the private key, you must view the certificate version bundle by using the CLI. For more information, see Using the CLI. Use the oci certificates certificate-bundle get command and required parameters to view a certificate version's certificate, certificate chain, and details.
To view the certificate and certificate chain for a certificate version, open a command prompt and run:
oci certificates certificate-bundle get --certificate-id <certificate_OCID> --version-number <certificate_version_number>
For example:
oci certificates certificate-bundle get --certificate-id ocid1.certificate.oc1.<region>.<unique_ID> --version-number 1
To view the private key along with the rest of the certificate version's contents, open a command prompt and run:
oci certificates certificate-bundle get --certificate-id <certificate_OCID> --bundle-type <bundle_type>
For example:
oci certificates certificate-bundle get --certificate-id ocid1.certificate.oc1.<region>.<unique_ID> --bundle-type CERTIFICATE_CONTENT_WITH_PRIVATE_KEY
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Run the GetCertificateBundle operation to view a certificate version's certificate, certificate chain, and details.