12.2 OCI Certificates: Private CAs, TLS Certificates, Renewal & Integrations

Key Takeaways

  • OCI Certificates manages TLS certificates, certificate authorities, and CA bundles, including revocation and automatic renewal.

  • Creating a certificate authority requires a hardware-protected (HSM) asymmetric encryption key in OCI Vault.

  • Automatic renewal works only for certificates that the Certificates service issues and manages; imported certificates must be updated with new PEM contents.

  • The service does not support mixed certificate chains that combine RSA and ECDSA key algorithms in one chain.

  • Certificates can be associated with OCI services such as Load Balancer and API Gateway, and Audit tracks administrative actions on certificates and CAs.

Last updated: October 2026

Why Certificate Management Is a Security Objective

TLS protects data in transit, but expired or mismanaged certificates cause outages and security gaps. The exam objective "application and data security using WAF, Certificates, and KMS" expects you to know how OCI issues, stores, renews, and revokes certificates for internal and external services.

Core Concepts

ConceptMeaning
CertificateA digital document confirming that its subject owns the public key in it. An end-entity (leaf) certificate cannot sign other certificates; TLS server and client certificates are examples.
Certificate authority (CA)Issues certificates and subordinate CAs. CAs form a hierarchy with a self-signed root CA at the top and subordinate CAs below it.
CA bundleA set of root and intermediate certificates used to validate chains; it can include CAs not managed by the service. Content is in PEM format.
Certificate chainThe list of certificates from the end-entity certificate up to the root.
Certificate revocation list (CRL)A list, issued by a CA, of certificates and CAs it has revoked before their expiration.

For a certificate to be trusted, the client validating it must trust the root CA at the top of its chain. The service does not support mixed chains in which some certificates use RSA keys and others use ECDSA keys; Oracle recommends separate CA chains for each key algorithm family.

What You Can Do With the Service

Oracle lists these lifecycle capabilities:

  • Create root CAs, subordinate CAs, and subordinate CAs that are issued externally but managed internally, as well as certificates and CA bundles.
  • Import CAs and certificates issued by a third-party CA.
  • Configure rules for how long CAs and the certificates they issue are valid.
  • Configure rules to renew certificates automatically.
  • Choose which version of a CA, certificate, or bundle is current.
  • Revoke a CA or certificate version that has been compromised.
  • Tag resources and associate certificates with services such as Load Balancer.

Building a Private CA Hierarchy

Many organizations need certificates for internal services, such as internal web portals, service-to-service TLS, or private API endpoints, that should not be issued by a public CA. The Certificates service lets you run a private PKI:

  1. Create or choose a Vault key. Creating a CA requires an HSM-protected asymmetric key (for example, RSA) in OCI Vault. The CA's private key never leaves the HSM.
  2. Create a root CA with a long validity period. Oracle's tutorials recommend keeping the root separate from day-to-day issuance.
  3. Create a subordinate (issuing) CA signed by the root. Separating root and issuing CAs increases security, because the root can stay unused while the subordinate issues certificates.
  4. Issue certificates from the subordinate CA for internal hostnames.
  5. Distribute the CA bundle (root and intermediate) to clients so they trust the internal certificates.

A dynamic group and IAM policies are typically used so instances or applications can retrieve certificate bundles without user credentials.

Issued vs. Imported Certificates and Renewal

Certificate sourceWho holds the private keyRenewal
Issued by a CA in the Certificates serviceThe serviceAutomatic renewal rules can create new versions before expiry
Issued internally with an externally managed key (you supply a CSR)YouRenew by providing a new CSR
Imported from a third-party CAYouNo automatic renewal; update the certificate with new PEM files from the third-party CA

When a certificate expires without automatic renewal creating a new version, it can no longer be used. Monitoring expiration dates of imported certificates is therefore an operational must.

Versions

Each renewal creates a new certificate version. You can choose which version is current, which allows controlled rollouts and rollback. A compromised version can be revoked, and revocation is published through the CA's CRL.

Integrations

  • Load Balancer: associate a certificate from the Certificates service with a listener so the load balancer terminates TLS with a managed certificate.
  • API Gateway: use managed certificates for custom domain names on gateways.
  • Resource Manager private endpoints: when Resource Manager connects to a private Git server, the server's SSL certificate is imported into the Certificates service.
  • Network Firewall and WAF: TLS keys for firewall decryption use Vault mapped secrets; WAF inspects traffic after the load balancer terminates TLS.

Operational Practices

  • Prefer certificates issued and managed by the service for internal endpoints, so renewal rules replace them automatically.
  • Keep an inventory of imported certificates and their expiry dates, because they must be renewed by hand.
  • Use separate subordinate CAs for different environments, such as production and test, so a compromised test CA can be revoked without touching production.
  • Set validity rules that match your policy, for example short-lived leaf certificates with automatic renewal.

Security and Monitoring

  • IAM controls who and which services can use CAs, certificates, and bundles.
  • OCI Audit tracks administrative actions on CAs, certificates, and CA bundles.
  • Cloud Guard detects risky configurations and activity related to Certificates. Its activity detectors include rules such as "Certificate Authority (CA) deleted", "Intermediate Certificate Authority (CA) revoked", and "CA bundle updated".
Loading diagram...
Private CA Hierarchy in OCI Certificates
Test Your Knowledge

A team imported a certificate from a public third-party CA into OCI Certificates and attached it to a load balancer. It expires next month. How is it renewed?

A

Automatically, because every certificate in the service has renewal rules

B

Manually, by updating it with new PEM contents from the third-party CA

C

By revoking it, which makes the service request a replacement from the CA

D

By creating a new root CA in the service and reissuing the certificate

Test Your Knowledge

An architect is creating a private root CA in OCI Certificates for internal TLS. Which prerequisite must exist first?

A

A public Object Storage bucket to publish the root certificate

B

A software-protected AES key in OCI Vault

C

An HSM-protected asymmetric key in OCI Vault for the CA's private key

D

A WAF policy attached to the load balancer that will use the certificates

Sections you finish are checked off in the contents.