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.
    1. Open the navigation menu and click Identity & Security.
    2. Under Certificates, click Certificates.
    3. From the list of certificates in the compartment, click the name of the certificate with the certificate version bundle that you want to view.

      To find a certificate in a different compartment, under List scope, choose a different compartment.

    4. Under Resources, click Versions.
    5. Under Versions, find the certificate version with the bundle that you want to view.
    6. Click the Actions menu (Actions Menu) for that certificate version, and select View Content.
      The Console displays the contents of the bundle, which include all the certificates in the bundle. You can either copy or download the contents.
    7. When you're finished, click Close.
  • 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.