Automate certificate renewal on OpenShift routes and ingress

OpenShift certificate renewal can be automated by installing cert-manager on the cluster and defining issuers and Certificates that renew before expiry. The 200, 100 and 47 day public lifetimes shorten the window for manual renewal, so teams running OpenShift routes need automation in place before 15 March 2029.

On this page

How can OpenShift certificate renewal be automated, and what do shorter lifetimes change?

Renewal of publicly trusted certificates on OpenShift can be automated through cert-manager, which can request and renew certificates from an ACME issuer. The CA/Browser Forum Baseline Requirements cut the maximum subscriber certificate validity to 200 days from 15 March 2026, to 100 days from 15 March 2027 and to 47 days from 15 March 2029. At those limits, renewing certificates by hand on a schedule of roughly every few months per route becomes unworkable, so automation stops being optional for teams that serve public certificates.

The work falls to three groups. Cluster operators own the cert-manager installation, its supported release and the ACME issuer configuration, since an issuer defines the ACME server URL, the account key stored in a Secret and the challenge solvers. Platform teams own the policy: which routes and platform endpoints need public certificates, how they are named, and how cert-manager is monitored for failed renewals. Owners of routes that use public certificates must confirm that their hostnames are covered by the issued certificates and that their applications pick up a renewed certificate without an outage.

Shorter lifetimes also change the timing. cert-manager by default sets a 90 day duration and renews at two thirds of the lifetime, which no longer fits a 47 day certificate, so the platform team should set spec.duration and spec.renewBeforePercentage explicitly and check the effective renewal window against the certificate authority's limits. Confirm the cert-manager release against your OpenShift version in the cert-manager releases page before upgrading, and check the ACME renewal information support in cert-manager 1.21 release notes if your team plans to follow the server's recommended renewal window.

What the 200, 100 and 47 day limits mean for OpenShift routes

This table sets out the three Baseline Requirements steps, the maximum subscriber certificate validity and validation reuse at each one, and what each step means for how often an OpenShift route needs renewing. Read each row as a date, then check the renewal count and which renewals a team can no longer do by hand. The main takeaway is that renewal frequency roughly doubles and then nearly quadruples across the three steps, so manual renewal stops being workable well before 2029.

DateMaximum certificate validityMaximum validation reuseWhat it means on OpenShift
From 15 March 2026200 days200 days for domain and IP validation, 398 days for subject identityRoutes need renewal several times a year. Confirm with your CA which renewals still run by hand and which are automated.
From 15 March 2027100 days100 days for domain and IP validationRenewal frequency doubles compared with the 200-day step. Route renewals must run on a schedule, not on reminders.
From 15 March 202947 days10 days for domain and IP validationRenewals occur roughly every six to seven weeks. Domain validation must be repeated within 10 days of issuance, so manual steps cannot keep pace.
Renewal count per route per yearSet by the validity limit at each stepSet by the validation reuse limit at each stepCount renewals from the validity limit in each row. Confirm the figure against your CA's documentation and your own renewal schedule.
Renewals that stop working by handAny renewal that needs a person to request, validate or install a certificateAny renewal that needs a person to repeat domain validationFrom 2027, routine renewals cannot depend on a person. From 2029, validation repeats are also too frequent for manual steps.
Platform renewal pathcert-manager or an ingress controller that renews automaticallyAn ACME Issuer able to complete validation on each renewalConfirm the cert-manager release and OpenShift version pairing in the cert-manager releases page before you plan the upgrade path.

How cert-manager issues and renews certificates for OpenShift routes

cert-manager handles issuance and renewal through a small set of Kubernetes objects. A Certificate resource declares the name, the DNS names it must cover and its lifetime. It refers to an Issuer or ClusterIssuer, which holds the settings for the certificate authority. An Issuer is namespaced and a ClusterIssuer is available across the cluster, so platform teams usually choose the ClusterIssuer when several projects need the same CA. When an ACME Issuer is in use, its privateKeySecretRef names the Secret that holds the ACME account key, and its email, server (the ACME directory URL) and solvers (http01 or dns01) fields control how ownership of each name is proven. The issued key and certificate are written to the Secret named in the Certificate's secretName. Check these references before anything else, because a Certificate that points at the wrong Issuer or a missing account Secret will fail quietly until someone reads its status.

By default a Certificate's spec.duration is 90 days, and cert-manager renews at two thirds of the lifetime, which leaves one third of the lifetime as a margin before expiry. That default matters more as public lifetimes shorten. The spec.renewBefore field sets an absolute lead time, while spec.renewBeforePercentage sets a share of the actual duration. The docs recommend the percentage form, because it avoids renewal loops when the CA issues a shorter certificate than requested. Teams planning for shorter public lifetimes should confirm which of these they use and test it against a short-lived certificate in a non-production cluster. cert-manager 1.21 also adds experimental ACME Renewal Information support behind the ACMEUseARI feature gate, which lets cert-manager follow the server's recommended renewal window. Treat that as an opt-in feature and confirm it with the release notes before relying on it.

Renewal is only half of the job. The sources say the Secret is updated when cert-manager renews, but they do not describe how an OpenShift route reads that Secret, whether the route reloads on change or how a Router picks up a new key and certificate. Confirm this in the OpenShift documentation for your release, and test a renewal in a staging cluster to see whether the route serves the new certificate without a manual step. If your routes or platform endpoints rely on a certificate that is not managed by cert-manager, plan those separately, because a cert-manager renewal will not touch them. Keep a record of which Certificate feeds which route so that a failed renewal can be traced to a specific endpoint.

Which automation options does OpenShift support for route certificates?

The http01 solver is the most direct way to automate a public certificate for an OpenShift route. cert-manager creates an ACME Issuer that points at an ACME server, stores the account key in a Secret referenced by privateKeySecretRef, and uses an http01 solver to prove control of the domain by serving a challenge response on a path the ACME server can reach. The Issuer needs email, server (the ACME directory URL) and the solver configuration. Renewal then runs on the Certificate's schedule without manual steps.

  • Required inputs: an ACME Issuer with email, server and privateKeySecretRef, plus an http01 solver section.
  • Network reachability: the ACME server must be able to reach the challenge path on the domain over the public internet. Plan for this on routes that sit behind internal load balancers or firewalls.
  • Release support: cert-manager 1.21 supports OpenShift 4.20 to 4.22. cert-manager 1.20 supports OpenShift 4.19 to 4.21.
  • Renewal timing: by default a Certificate renews at two thirds of its lifetime, leaving one third before expiry. The default spec.duration is 90 days.
  • Limits to confirm: the sources do not list rate limits or challenge timeouts for a specific ACME server. Check the documentation of the certificate authority you use.

Confirm that the route's hostname resolves and is reachable from the ACME server before you rely on http01 for renewal.

How to set up automated renewal with cert-manager on OpenShift

This sequence installs cert-manager, defines an ACME issuer and a Certificate with an explicit lifetime and renewal window, and confirms that a Secret is issued. The result is a certificate that cert-manager renews on its own before expiry, ready to be wired into your OpenShift routes and ingress.

  1. Confirm supported cert-manager and OpenShift versions

    Before installing anything, check the cert-manager releases page to confirm that the release you plan to install supports your OpenShift version. As read on 4 December 2026, cert-manager 1.21 supports OpenShift 4.20 to 4.22 and cert-manager 1.20 supports OpenShift 4.19 to 4.21. Record the cert-manager version you select and your cluster version in your change record. You are done when both versions appear together on the supported list for the release you chose. If your OpenShift version is not on that list, confirm the matching release with the cert-manager documentation before you continue.

  2. Install cert-manager with Helm

    Install cert-manager into its own namespace using the Helm chart. The cert-manager Helm documentation, read on 4 December 2026, shows chart version v1.21.3 installed with this command: helm install cert-manager oci://quay.io/jetstack/charts/cert-manager --version v1.21.3 --namespace cert-manager --create-namespace --set crds.enabled=true. Run it with cluster-admin rights, and replace the chart version if your confirmed release differs. Confirm the install by checking that the cert-manager pods in the cert-manager namespace reach a running state. You are done when the controller, webhook and cainjector pods are running. Check the OpenShift-specific install notes in the cert-manager documentation before you run the command in a production cluster.

  3. Create an ACME issuer

    Define an ACME Issuer that tells cert-manager which CA to request certificates from and how to prove domain control. Set the email field to a monitored mailbox, the server field to the ACME directory URL of your chosen certificate authority, and the privateKeySecretRef field to the name of a Secret that will hold the ACME account key. Add a solvers entry that uses http01 or dns01, depending on how your domains can be validated. Confirm the exact field layout against the cert-manager ACME configuration page, since the fields and solver options are documented there. You are done when the Issuer shows a Ready condition, which you can check with the kubectl describe command on the Issuer.

  4. Create a Certificate with duration and renewal window

    Create a Certificate resource that references your Issuer, names the hostnames it covers, and sets spec.duration and spec.renewBeforePercentage. The docs recommend renewBeforePercentage over spec.renewBefore because it avoids renewal loops when the issued duration is shorter than requested. Be aware that spec.duration defaults to 90 days and that cert-manager renews by default at two thirds of the lifetime. Set spec.duration to a value your certificate authority allows, and keep the duration above the renewal window and at least 1 hour. You are done when the Certificate resource is created without validation errors. Confirm the OpenShift route wiring, meaning how the issued Secret is referenced from your Route or ingress, in the OpenShift product documentation, because this sequence does not cover it.

  5. Confirm the Secret is issued

    Check that cert-manager has issued the certificate and written it to the Secret named in the Certificate's secretName field. Use kubectl to inspect the Certificate and confirm its Ready condition is True, then check that the Secret exists in the same namespace and contains the expected tls.crt and tls.key data. You can inspect the certificate's subject and expiry dates with a standard tool such as openssl, reading the values from the decoded tls.crt. You are done when the Certificate reports Ready and the Secret holds a certificate for the hostnames you requested. If the Certificate does not reach Ready, check the ACME challenge resources that cert-manager creates while validating the domain.

  6. Check the renewal behavior before relying on it

    Before treating the setup as finished, confirm how renewal will happen for your certificate. Compare the renewBeforePercentage you set with the lifetime your certificate authority actually issued, since cert-manager renews against the issued duration. If your environment supports it, cert-manager 1.21 adds experimental support for ACME Renewal Information (RFC 9773) behind the ACMEUseARI feature gate, which makes cert-manager follow the server's recommended renewal window. Treat that feature as experimental and confirm its status in the release notes before enabling it. You are done when you have written down the renewal point for your certificate and the owner who will watch for renewal events.

What has to be in place before automating OpenShift certificates

Automating certificates on OpenShift with cert-manager depends on matching component versions, working network paths to the ACME server, and the right permissions in the cluster and DNS. Check each of these before installing anything, because a gap in any one of them will stop issuance or renewal.

Supported cert-manager and OpenShift versions

The cert-manager releases page lists cert-manager 1.21 as supporting OpenShift 4.20 to 4.22, and cert-manager 1.20 as supporting OpenShift 4.19 to 4.21. Pick the cert-manager release that matches the OpenShift minor version you run, and confirm the match against the releases page before you install. Plan an upgrade path for each cluster, since a cluster on OpenShift 4.22 falls outside the 1.20 range and a cluster on OpenShift 4.19 falls outside the 1.21 range.

OpenShift range covered
4.19 to 4.22
cert-manager releases

Network path to the ACME server

The cluster must reach the ACME directory URL that the Issuer names in its server field, because cert-manager contacts that server to create orders and fetch certificates. Check egress from the cluster nodes and any proxy or firewall rules that sit between them and the internet. Confirm the path before you create the Issuer, so you do not find out about a blocked route only when renewal fails.

ACME configuration

http01 or dns01 validation method

The ACME Issuer uses solvers to prove control of each domain, and the solver is either http01 or dns01. An http01 solver needs the challenge path to be reachable from the public internet on port 80, which can conflict with routes and ingress rules you already run. A dns01 solver needs the cluster to write records into the zone, so choose the method based on what your routes and network allow.

ACME solvers

DNS access for dns01

If you choose dns01, cert-manager needs credentials that allow it to create and remove TXT records in the DNS zone for each domain. Check that the DNS provider is supported and that the credentials are scoped to the zones the cluster issues for. Store the credentials in a Secret in the cluster, and confirm the zone holds no conflicting records that would block the challenge.

ACME solvers

Permissions to create Secrets

cert-manager writes issued certificates and the ACME account key into Secrets, so the identity that runs the Issuer and Certificate resources needs rights to create and update Secrets in the relevant namespaces. The Issuer also refers to a privateKeySecretRef for the account key. Confirm these rights in the namespaces where routes and ingress live, since a missing permission shows up as a failed write rather than a clear error.

ACME configuration

Installing the chart with CRDs enabled

The current cert-manager Helm chart is installed from an OCI registry, and the install command sets crds.enabled to true so the Certificate, Issuer and related custom resources are created. The installer needs rights to create cluster-scoped resources such as CRDs and ClusterRoles. Check those rights before you run the install, and confirm the chart version you pin matches the cert-manager release you chose.

cert-manager Helm install

How to confirm OpenShift certificate renewals keep happening

Automated renewal only protects a platform if someone can see that it is still running. For each OpenShift route or ingress certificate, check the Certificate resource that cert-manager manages in its namespace. Its status shows whether the certificate is ready, when it was last issued and when it expires. Compare the expiry time with the renewal point. By default, cert-manager renews at two thirds of the certificate lifetime, which leaves one third of the lifetime before expiry, so a healthy certificate should show a renewal time well ahead of its expiry. If spec.duration or spec.renewBefore is set on a Certificate, confirm the effective renewal point matches what your team intended, since the docs recommend renewBeforePercentage to avoid renewal loops when the issued duration is shorter than requested.

Watch the cert-manager controller logs during renewal windows and after any upgrade. The logs show whether an ACME order succeeded, whether the http01 or dns01 solver completed its challenge and whether the Secret holding the certificate was updated. Because the chart is installed in a dedicated namespace, the controller logs are readable from there using standard OpenShift tooling. Turn these checks into alerts that fire well before expiry, not at expiry. Choose the alert lead time based on your own renewal window and on the rule timeline you are planning against, which tightens to 100 days from 15 March 2027 and to 47 days from 15 March 2029. The exact monitoring stack and alert routing belong to your environment, so confirm them with your platform team.

Keep a dated record of every issuance and renewal for auditors and customer security reviews. Export the status of each Certificate, the issuing ACME server and the issuance times, and retain them alongside the alert history. If you use ACME Renewal Information with cert-manager 1.21, record whether the ACMEUseARI feature gate is enabled, since it is experimental. Confirm the cert-manager version you run against the release matrix for your OpenShift version before you rely on the record, and confirm retention periods with your compliance owner.

Frequently asked questions about OpenShift certificate renewal

Does OpenShift support ACME for certificate renewal?

The sources on this page do not state whether OpenShift routes or the platform's own endpoints accept ACME directly, so confirm that in the OpenShift documentation for your version before you plan around it. What the sources do cover is cert-manager, which runs on OpenShift and talks to an ACME server through an ACME Issuer. That Issuer needs an email, a server (the ACME directory URL), a privateKeySecretRef that names the Secret holding the account key, and solvers that use http01 or dns01. Your choice of solver decides what your environment has to allow: http01 requires the challenge path to be reachable from the ACME server, while dns01 requires write access to the DNS zone. Check the cert-manager ACME configuration documentation for the exact fields your release expects.

Which cert-manager version should I use with OpenShift?

Choose a cert-manager release whose supported OpenShift versions include your cluster. The cert-manager releases page, read on 4 December 2026, lists 1.21 (released 8 July 2026) as supporting OpenShift 4.20 to 4.22, and 1.20 (released 10 March 2026) as supporting OpenShift 4.19 to 4.21. It expected 1.22 around November 2026, so check the page again for its current status. Install with Helm from the chart and version your team has tested. The Helm documentation shows v1.21.3 as the current chart at the time of reading, installed with --set crds.enabled=true. Confirm the chart version and the OpenShift support matrix against the release page before you install, because support windows and chart versions change between releases.

How often do certificates renew under cert-manager?

By default, cert-manager sets a Certificate's lifetime with spec.duration, which defaults to 90 days, and renews at two thirds of that lifetime, leaving one third before expiry. You can set the lead time with spec.renewBefore as an absolute duration, or with spec.renewBeforePercentage as a share of the actual duration. The cert-manager docs recommend renewBeforePercentage so that a shorter-than-requested issued duration does not cause a renewal loop. Public CA lifetimes are changing: from 15 March 2026 the CA/Browser Forum Baseline Requirements set the maximum subscriber validity at 200 days, from 15 March 2027 at 100 days, and from 15 March 2029 at 47 days, with domain validation reuse falling to 10 days at the last step. Test your renewal window against those limits before the relevant date.

What happens when a certificate renewal fails on OpenShift?

The sources on this page do not describe cert-manager's failure behavior in detail, so confirm the specifics in the cert-manager and OpenShift documentation for your version. What the sources do establish is the timing: because renewal starts at two thirds of the lifetime, a single failed attempt leaves roughly one third of the lifetime before expiry, which gives you room to find and fix the cause. Check the Certificate and its related resources for status and events, and verify that the ACME solver path (HTTP-01 reachability or DNS-01 write access) still works. Set up alerts on certificate expiry so a stalled renewal reaches someone before the certificate lapses. Test a renewal in a non-production cluster after any change to solvers, network policy or DNS.

Do wildcard and internal certificate names work with cert-manager on OpenShift?

The sources on this page do not state whether wildcard or internal names are supported for OpenShift routes, so confirm that in the cert-manager and OpenShift documentation. Public CAs validate domain names through the ACME challenge you configure, and the CA/Browser Forum rules limit how long that validation data can be reused, so a wildcard or internal name depends on which validation method your CA accepts. For internal names, the sources do not describe a private CA setup, so check the cert-manager ACME configuration and your private CA's documentation before assuming an internal name will issue. Test one name of each type in a non-production cluster before you rely on it for production routes.

Should I get outside help to automate certificate renewal on OpenShift?

Outside help is worth considering when the work crosses several teams or when the rules are changing faster than your team can track. The main cost drivers are the number of clusters and routes, how many ACME solvers and DNS zones you must configure, the state of your current certificate inventory, and how much testing you need before the shorter lifetimes arrive. Ask any provider for a written scope that names the OpenShift versions, the cert-manager release, the solver method, and the renewal checks they will test. DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside a client's own infrastructure, and most engagements are fixed-scope with the scope agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from that written scope.

How much effort does automating OpenShift certificate renewal take?

The sources on this page do not give a duration or effort figure, so treat any estimate as something to confirm with your own environment rather than a benchmark. The work usually splits into one-time setup and recurring operation. One-time setup covers installing cert-manager, defining Issuers, choosing solvers, and moving existing routes onto automated Certificates. Recurring work covers keeping cert-manager on a supported release, watching expiry alerts, and adjusting renewal windows as public lifetimes shorten. The size of each part depends on how many clusters and routes you run and how much of your inventory is already documented. Ask for effort broken into those two categories in any written scope.

How the certificate issuance and renewal flow runs on OpenShift

The flow starts when the cert-manager controller reads a Certificate resource that names an Issuer pointing at an ACME certificate authority. The controller requests the certificate, the ACME server issues an http01 or dns01 challenge, and cert-manager completes it before storing the signed certificate and key in a Secret. The OpenShift route or ingress then reads that Secret, so on renewal the updated Secret is what the endpoint picks up. Check that the solver can complete validation from your cluster, that the Secret is referenced by the route or ingress, and that renewBeforePercentage leaves enough margin before expiry.

Certificate renewal flow from cert-manager through the ACME CA into the TLS Secret used by OpenShift routes.

How DeployOpen helps teams automate certificates on OpenShift

DeployOpen works through the certificate lifecycle on your OpenShift clusters: which routes and platform endpoints need certificates, how renewal is triggered, and how it is checked before shorter lifetimes arrive. The work runs inside your own infrastructure and ends with documentation your platform team can operate.

How we scope

  • Inventory every route, ingress and platform endpoint that serves a publicly trusted certificate on your clusters.
  • Record the current issuer, lifetime and renewal method for each endpoint, and the owners who approve changes.
  • Agree the scope in writing, including which OpenShift versions and cert-manager releases are covered before work starts.

How we build

  • Install cert-manager with the Helm chart and configure ACME issuers, storing account keys in named Secrets.
  • Set renewal timing on each Certificate, checking that renewal happens well before expiry under shorter lifetimes.
  • Test renewal on non-production routes first, confirming that the router reloads the new certificate without an outage.

How we hand over

  • Deliver runbooks covering issuer configuration, renewal monitoring, and steps to follow when a renewal fails.
  • Document each route's certificate source, owner and renewal settings so audits can trace every endpoint.
  • Walk your platform team through the configuration and confirm they can operate it without DeployOpen present.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, including cert-manager upgrades as releases change.
  • Retesting after OpenShift upgrades, since supported version pairings change from one cert-manager release to the next.
  • Fixed-scope engagements, with deliverables and timelines agreed in writing before any work begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.