cert-manager Troubleshooting: Fix Certificates Stuck at READY False
cert-manager troubleshooting works by walking the resource chain from Certificate to CertificateRequest to Order to Challenge and fixing the first link that reports an error. This guide covers issuer readiness, approval denials, HTTP-01 and DNS-01 challenge mechanics, CA rate limits and CAA refusals, renewal headroom, and the webhook and Secret-consumption problems that imitate issuance failure.
1. cert-manager Troubleshooting: The Certificate That Never Became Ready
cert-manager troubleshooting starts from one fact: a Certificate stuck at READY False means the signed certificate has not been obtained yet, and the reason sits in a resource cert-manager created underneath it. The chain runs Certificate, CertificateRequest, Order, and Challenge, and the first link reporting an error is the one to fix.
Consider an illustrative composite incident. A team migrates an Ingress to a new controller on Friday. The site keeps serving on the old certificate, so nobody notices that renewal has stopped working. Two weeks later the certificate expires during peak traffic and browsers refuse the site. The Certificate object has been reporting READY False the whole time, with the actual cause waiting in a Challenge that nobody read. The outage was scheduled by inattention, not by the CA.
The discipline this guide teaches is chain-walking. Describe the Certificate, follow the CertificateRequest it names, then the Order, then the Challenge, and stop at the first object holding an error. Controller logs come last, because the resources already record conditions and events in plain language. Teams that start in logs usually end up reading thousands of lines to learn what one describe command would have shown.
The sections ahead cover each link in order: issuer health, request approval, HTTP-01 and DNS-01 challenge mechanics, CA refusals and rate limits, renewal timing, and the webhook and Secret problems that imitate issuance failures. Each section names the confirming command before the fix, so the repair matches the evidence.
2. cert-manager Troubleshooting Starts With the Resource Chain
Effective cert-manager troubleshooting follows the resource chain top-down because each object only knows about the step below it. The Certificate states intent, the CertificateRequest carries the signing request, the Order represents the CA transaction for ACME issuers, and each Challenge proves control of one name. An error reported by a lower object explains every symptom above it.
Begin with three commands in the Certificate namespace. The describe output shows conditions and events, and the final event usually names the CertificateRequest to inspect next. The cmctl status command prints the whole chain at once and is worth installing on any workstation that touches production TLS.
Read conditions literally. Issuing True means an attempt is in progress. Ready False with reason DoesNotExist means no Secret exists yet, so the request below needs attention. Ready False with an expiry reason means renewal failed and the old certificate is living on borrowed time. The message field often contains the CA's own wording, which is the most reliable clue in the whole chain.
Know when the chain does not exist. If no Certificate object exists at all, issuance never started, and the problem sits earlier: an Ingress missing its issuer annotation or tls section, or a Certificate manifest that was never applied. Chain-walking assumes the first link exists; confirming that assumption takes ten seconds and saves an hour.
One more habit pays for itself: record the names and timestamps of the chain objects before changing anything. CertificateRequests accumulate across retries, and an old failed request beside a new pending one confuses responders who describe the wrong object. Sorting by creation time and following the newest request keeps the investigation on the live attempt. The same discipline applies after the fix, when the fresh request reaching Ready and the Secret updating are the evidence that the repair worked, rather than the absence of new errors in a log stream.
3. cert-manager Troubleshooting When the Issuer Is Not Ready
Issuer problems are the earliest cert-manager troubleshooting stop because a Certificate pointing at a broken or wrong issuer never creates an Order. Check issuer readiness before debugging challenges: a ClusterIssuer that cannot register its ACME account, or an issuerRef naming the wrong kind, stalls every Certificate that references it.
The kind field is the classic trap. An Issuer is namespaced and serves only Certificates in its own namespace. A ClusterIssuer serves the whole cluster, and the Certificate must say kind ClusterIssuer in issuerRef to use it. A mismatch produces a request that waits forever for an issuer that, from its namespace, does not exist. Describe the issuer and read its Ready condition and events before changing anything else.
For ACME issuers, readiness depends on account registration: the server URL, the email, and the private key Secret must all be correct, and the account key Secret for a ClusterIssuer lives in the cluster resource namespace, cert-manager by default. A Secret created in the wrong namespace is invisible to the controller and presents as a registration failure with no obvious cause.
Non-ACME issuers fail differently. A CA issuer needs its signing Secret present and valid; a Vault issuer needs network reachability and a working auth role. The troubleshooting shape stays the same: the issuer's own conditions name the failing dependency, and fixing Certificates before the issuer is Ready only multiplies noise. Once the issuer reports Ready, stuck Certificates usually progress on their own or after deleting a failed CertificateRequest.
4. cert-manager Troubleshooting at the CertificateRequest: Denied and Invalid
CertificateRequest failures are the cert-manager troubleshooting stop between intent and CA transaction. The request must be approved before any issuer signs it, and its conditions separate approval problems from malformed requests. A healthy ACME request shows Ready False with a pending message while it waits on its Order; that state is progress, not failure.
Denied True means an approver rejected the request. cert-manager ships a built-in approver that approves its own requests, so a denial usually means approver-policy or a custom approver is installed and its policy does not permit this request. Read the denial message, then check the approval policy's allowed issuers, namespaces, and usages. The fix belongs in policy, not in the Certificate.
InvalidRequest True means the signer refused the request itself: an unsupported key algorithm or size, a duration the issuer will not grant, or usages the CA rejects. The event message names the field. Correct the Certificate spec rather than retrying, because an invalid request fails identically on every attempt and burns CA rate budget where the issuer is public.
A missing CertificateRequest is its own signal. If the Certificate exists and is not Ready but no request was created, the issuerRef almost certainly points at a name or kind that does not resolve, which returns the search to issuer health. Deleting a failed CertificateRequest is safe: the Certificate remains the source of truth and cert-manager creates a fresh request, which makes deletion the standard retry after fixing the cause below it. Capture the failed request's conditions before deleting it, though, because the deletion removes the evidence along with the object.
5. cert-manager Troubleshooting for HTTP-01 Challenges That Return 404
HTTP-01 failures dominate cert-manager troubleshooting because the CA must fetch a token over plain HTTP through the same ingress path real traffic uses. cert-manager creates a temporary solver pod, Service, and Ingress for the challenge path, and any break between the public internet and that solver pod fails validation with a 404, a timeout, or a redirect.
Confirm from outside first. Fetch the challenge path from a network outside the cluster and see what answers. Then read the Challenge describe output: waiting for propagation and wrong status code messages, plus the self-check result, separate public reachability problems from in-cluster routing problems. cert-manager checks the challenge itself before asking the CA to validate, so a self-check failure with a working external fetch points at split DNS or NAT loopback inside the cluster.
The usual causes are mundane. The solver ingress class does not match the controller serving the domain, so the challenge Ingress is ignored. Port 80 is closed on the load balancer because the team only exposed 443. A forced HTTPS redirect or authentication middleware intercepts the challenge path. DNS points at an old load balancer. Each cause has a direct fix: align the solver class in the issuer, expose port 80, exempt the well-known path from redirects and auth, and correct DNS.
Wildcard names cannot use HTTP-01 at all; they require DNS-01. A Certificate requesting a wildcard through an HTTP-01 solver fails by design, and the fix is a solver change in the issuer, not patience. The Gateway API tutorial covers the modern routing objects that HTTP-01 solvers must integrate with when Ingress is replaced.
Inspect the solver objects directly when the Challenge text is ambiguous. The solver pod should be running, its Service should have endpoints, and the solver Ingress should carry the expected class and host rule for the challenge path. A solver pod stuck Pending points at scheduling or image problems; a solver Ingress with no address points at the controller; a solver pod serving the token while external fetches fail points outside the cluster. Each observation narrows the search without guessing, and the solver objects are temporary, so capture their state before cert-manager cleans them up after a failed attempt.
6. cert-manager Troubleshooting for DNS-01 Challenges and Propagation
DNS-01 failures in cert-manager troubleshooting centre on credentials, zone targeting, and propagation. The solver creates a TXT record at the _acme-challenge name through the DNS provider API, waits for the record to be visible, and only then asks the CA to validate. Each stage reports its own error in the Challenge, so read it before changing credentials.
Provider API errors such as 403 or invalid credentials mean the token or key in the solver Secret lacks rights to the zone, or the Secret cannot be found. For a ClusterIssuer, solver Secrets must live in the cluster resource namespace, cert-manager by default; a correct Secret in the application namespace is a common false fix. Zone errors mean the solver targets a zone the domain is not delegated to, which happens when a subdomain is delegated separately from its parent.
Propagation waits are normal up to a point. cert-manager polls public resolvers before triggering validation, and slow providers can take minutes. A Challenge stuck on propagation for far longer usually means the record was created in the wrong zone or a CNAME at the challenge name redirects the lookup somewhere unexpected. Query the TXT record from outside resolvers to see what the CA will see.
DNS-01 is the right solver for wildcards and for names that are not publicly reachable over HTTP, but it grants the cluster DNS write credentials, which is a security decision. Scope provider tokens to the smallest zone set possible, store them as Secrets with tight RBAC, and prefer a dedicated delegated challenge zone when the provider supports it. The External Secrets Operator guide covers managing those provider credentials from a vault instead of static manifests.
A minimal DNS-01 issuer makes the credential placement explicit. The token Secret referenced here must exist in the cluster resource namespace for a ClusterIssuer, and the token itself should be scoped to DNS edits for the zones this issuer serves.
Delegated challenge zones reduce the credential blast radius further. With a CNAME from the challenge name to a dedicated zone, the cluster token only needs write access to that delegated zone, while production DNS stays under tighter control. The extra DNS setup is worth it for multi-team platforms, because a leaked challenge-zone token cannot rewrite application records.
7. cert-manager Troubleshooting When the CA Refuses: Rate Limits and CAA
CA refusals are the cert-manager troubleshooting branch where the cluster is healthy and the authority says no. The Order or CertificateRequest message carries the refusal vocabulary: rateLimited, caa, or rejectedIdentifier. Each word names a different external constraint, and none of them yield to restarting pods.
Let's Encrypt rate limits are the most common refusal after a debugging session. Failed validations, duplicate certificates, and certificates per registered domain all have weekly or hourly budgets, and repeated retries during troubleshooting consume them. The defence is process: debug against the staging ACME endpoint, fix the challenge cause, and only then switch to production. A rateLimited error includes a retry time; honour it instead of hammering, because further attempts extend the pain.
CAA records are the quiet refusal. A CAA record on the domain lists which CAs may issue; if Let's Encrypt is not listed, issuance is refused no matter how healthy the solver is. Check the record at the registered domain and any delegated subdomain, and coordinate with whoever owns DNS policy before editing it. rejectedIdentifier usually means a name that is not a valid public DNS name, such as an internal suffix sent to a public CA; internal names belong on a private CA issuer.
Private CA issuers remove public rate limits but add their own constraints: signing certificate expiry, path length, and policy OIDs. When a private CA refuses, the issuer events and CA logs carry the reason, and the fix is in CA policy. Either way, the Order message is the contract: read it literally and fix the named constraint.
Prevention is mostly staging discipline. Point new issuers and new solver configurations at the staging endpoint first, prove a full issuance and a forced renewal there, and only then promote the same configuration to production. Staging certificates are untrusted by browsers, which is exactly why they are safe to burn during debugging. Teams that debug directly against production eventually meet a rate limit during a real expiry incident, when the budget they spent on experiments is the budget they needed for recovery.
8. cert-manager Troubleshooting: Decision Table by Chain Link
A decision table keeps cert-manager troubleshooting fast under pressure by mapping the first erroring resource to its cause family and fix. Walk the chain until a resource reports an error, then act on that row only. Fixing a lower link usually clears every symptom above it without further changes.
| First erroring resource | Cause family | Fix direction |
|---|---|---|
| No Certificate exists | Ingress annotation or manifest missing | Add issuer annotation and tls section, or apply the Certificate |
| Issuer not Ready | ACME account, key Secret, or CA dependency | Repair issuer spec and Secrets in the right namespace |
| CertificateRequest Denied | Approver policy | Align approval policy with issuer and usages |
| CertificateRequest InvalidRequest | Unsupported key, duration, or usages | Correct the Certificate spec fields |
| Challenge HTTP-01 404 or timeout | Solver routing, port 80, redirects, DNS | Align solver class, expose 80, exempt challenge path |
| Challenge DNS-01 API error | Provider credentials or wrong zone | Fix token scope, Secret namespace, and zone targeting |
| Order rateLimited or caa | CA policy or exhausted budget | Wait out limits, use staging, correct CAA records |
| Certificate Ready, site still broken | Secret not consumed or stale | Check Ingress secretName and controller reload |
The last row matters because issuance success and serving success are different events. cert-manager writes the certificate into a Secret; the ingress controller or workload must reference that Secret and reload when it changes. A Ready Certificate with a broken site redirects troubleshooting from issuance to consumption, which is a different and usually shorter search.
Keep the table beside the cluster's issuer inventory. Knowing which issuers exist, which solver each uses, and where their Secrets live turns the first minutes of an incident into lookups. The ConfigMaps and Secrets guide covers the Secret mechanics behind the consumption row.
9. cert-manager Troubleshooting Matrix: Signal, Cause, Confirming Action
The troubleshooting matrix pairs each observable signal in cert-manager troubleshooting with the cause it supports and the action that confirms it. Work top-down: the earliest row that matches owns the incident, and later rows usually clear once it is fixed. This ordering prevents the common waste of debugging DNS while the issuer is not Ready.
| Signal | Cause it supports | Confirming action |
|---|---|---|
| Certificate READY False, no CertificateRequest | issuerRef name or kind mismatch | Compare issuerRef with issuer list |
| Issuer Ready False with account errors | ACME registration or key Secret problem | Describe issuer; check Secret namespace |
| Challenge self-check fails, external fetch works | Split DNS or NAT loopback in cluster | Fetch challenge URL from a debug pod |
| Challenge shows wrong status code 404 | Solver Ingress not served by controller | Compare solver class with controller class |
| TXT record absent on public resolvers | Wrong zone or provider token scope | Query TXT externally; read Challenge API error |
| Order message contains rateLimited | CA budget exhausted by retries | Switch to staging; wait for the stated window |
| Renewal fails near expiry, issuance worked before | Solver path broke since last issuance | Re-run challenge checks; review ingress changes |
| Secret updated, old certificate still served | Controller not reloading the Secret | Check controller logs and secretName reference |
Renewal-specific rows deserve attention because renewal failure is silent until expiry. A solver path that worked at issuance can break months later through an ingress migration, a redirect policy, or a DNS change, and nothing pages until browsers complain. Alerting on Certificate expiry windows converts that silent drift into a ticket with weeks of headroom.
Treat the matrix as a handoff artifact. Marking checked rows tells the next responder where the search stands and prevents repeated credential rotations that burn rate budget. In TLS incidents, methodical state-sharing is worth as much as any single command. A short incident note naming the first erroring resource, the exact message it carried, and the fix applied also becomes the runbook entry for the next occurrence, which is how a one-off expiry scare turns into permanent operational knowledge.
10. cert-manager Troubleshooting for Renewal, Expiry, and Secret Consumption
Renewal failures are the highest-stakes branch of cert-manager troubleshooting because they convert a healthy system into an expired-certificate outage on a predictable date. cert-manager renews before expiry based on the certificate duration and renewBefore settings, and a failed renewal retries with backoff while the old certificate keeps serving, which hides the problem until the final day.
Set renewal headroom deliberately. Short-lived public certificates need renewal attempts to start weeks before expiry so a broken solver path leaves time to fix. Alert on days-to-expiry per Certificate, not on expiry itself, and page when a renewal has failed repeatedly inside the headroom window. A certificate inventory sorted by expiry, reviewed weekly, is cheap insurance that most clusters skip.
Consumption failures imitate issuance failures. The Secret updates, but the ingress controller keeps serving the old certificate because it watches a different Secret name, the Ingress tls section names another Secret, or the workload mounts the Secret as files and never reloads. Verify what is actually served with an external TLS check and compare the served serial and dates with the Secret contents.
Rotation without downtime depends on the consumer. Ingress controllers generally reload on Secret change; applications reading mounted files need a reload signal or a rolling restart triggered by a checksum annotation. Design that trigger when the workload is built, not during the first renewal. The zero-502 rollouts guide covers restart patterns that keep traffic flowing while pods pick up new material.
Monitoring should treat certificate expiry as a service-level risk, not a housekeeping metric. Export days-to-expiry per Certificate, alert at multiple thresholds, and attach the owning team and issuer to every alert so the responder starts with context. A thirty-day warning can be a ticket, a seven-day warning should page the owner during working hours, and a failed renewal inside the final week is an incident. That escalation ladder matches the actual risk curve and prevents the common pattern where one low-severity alert is ignored until it becomes an outage.
11. cert-manager Troubleshooting: Webhook, RBAC, and Controller Health
Controller-level problems form the cert-manager troubleshooting branch where every Certificate stalls at once. When issuance stops cluster-wide, stop walking individual chains and check the platform: controller pods running, webhook answering, and RBAC permitting the controller to create and update the resources it manages. A single broken webhook can block Certificate writes themselves.
The cert-manager webhook validates and converts its own resources, so its failure presents as API errors on Certificate and Issuer writes rather than as stuck challenges. Check webhook pod readiness and the caBundle on its webhook configurations, the same trust pairing that breaks other admission webhooks. A cert-manager upgrade that rotates the webhook certificate without updating the bundle produces exactly this cluster-wide stall.
RBAC drift is the quieter variant. A Helm values change or a namespace-scoped install can leave the controller unable to watch Orders in some namespaces or unable to write Secrets where Certificates live. Controller logs name the forbidden verb and resource; fix the binding rather than granting cluster-admin as a shortcut. The RBAC least-privilege guide sets the pattern for scoping those permissions.
Controller logs earn their place only at this layer. For single-Certificate problems the resources speak first; for cluster-wide stalls the logs show leader election, watch failures, and sync errors that no single Certificate can express. Match the tool to the blast radius and the search stays short.
Upgrades deserve the same caution as any control-plane change. cert-manager releases change CRDs, webhook behaviour, and solver details, and a stalled upgrade can leave the controller and webhook at mismatched versions. Stage upgrades, confirm the webhook answers and a test Certificate issues in a scratch namespace, and keep the previous version's manifests ready for rollback. Certificate infrastructure fails rarely and then all at once; treating its upgrades as routine application deploys is how that rarity becomes an outage.
12. cert-manager Troubleshooting: Final Checklist and Senior Takeaways
The senior takeaway on cert-manager troubleshooting is that certificates fail at links, not in general. Every stuck Certificate has a first erroring resource, and the fastest responders are the ones who walk the chain to it instead of sampling logs and restarting components. Method beats intuition because the resources already record the evidence.
Use this checklist before calling a cluster TLS-healthy. Confirm every issuer reports Ready and its Secrets live in the namespace the controller expects. Confirm HTTP-01 solvers match the serving controller class, port 80 reaches the solver path without redirects or auth, and DNS points at the current load balancer. Confirm DNS-01 tokens are scoped to the right zones and stored outside plain manifests where possible. Confirm staging is the default debugging endpoint and production issuance happens once, after the cause is fixed.
Confirm renewal headroom and alerting: renewBefore leaves weeks of repair time, expiry alerts fire per Certificate, and someone owns the weekly expiry review. Confirm consumers reload on Secret change, verified by comparing the served certificate with the Secret after a test renewal. Confirm the webhook and controller are monitored as platform components, with alerts on pod readiness and webhook call errors.
During an incident, keep the sequence short: describe the Certificate, follow the chain to the first error, fix that link, delete the failed CertificateRequest if a clean retry is needed, and verify the served certificate externally. Teams that rehearse that sequence turn expiry outages into routine tickets. The Kubernetes best practices guide places certificate operations inside the wider production baseline. Keep the chain evidence in the incident record so the next responder starts from facts, not from a fresh search through controller logs during the next renewal cycle.
Frequently Asked Questions
Where does cert-manager troubleshooting start when a Certificate is READY False?
Start at the Certificate and walk down the chain it created: CertificateRequest, then Order, then Challenge. Describe each object and stop at the first one reporting an error, because that link explains every symptom above it. The cmctl status certificate command prints the whole chain at once and is the fastest first move.
Why does cert-manager troubleshooting show Issuing certificate as Secret does not exist?
That message means no signed certificate has been stored yet, so issuance is still in progress or blocked below the Certificate. Follow the named CertificateRequest to its Order and Challenge. The Challenge usually holds the CA's exact error, such as a 404 on the HTTP-01 path or a DNS provider refusal.
How do I fix HTTP-01 failures during cert-manager troubleshooting?
Confirm the solver Ingress class matches the controller serving the domain, port 80 reaches the load balancer, and the challenge path is exempt from HTTPS redirects and authentication. Fetch the well-known path from outside the cluster, then compare with the Challenge self-check result to separate public routing from split-DNS problems.
What causes DNS-01 failures in cert-manager troubleshooting?
The usual causes are provider credentials without rights to the zone, a solver targeting the wrong zone, or solver Secrets stored outside the cluster resource namespace for a ClusterIssuer. Query the TXT record on public resolvers to see what the CA will see, and read the provider error recorded in the Challenge.
How do rate limits affect cert-manager troubleshooting with Let's Encrypt?
Repeated failed validations and duplicate issuances consume hourly and weekly budgets, after which the Order reports rateLimited with a retry time. Debug against the staging ACME endpoint, fix the challenge cause there, and switch to production once. Honour the stated retry window instead of retrying into a longer block.
Why does cert-manager troubleshooting find a Ready Certificate but a broken site?
Issuance and serving are separate events. cert-manager writes the certificate into a Secret, and the ingress controller or workload must reference that Secret and reload on change. Compare the certificate served externally with the Secret contents, then check the Ingress secretName and the consumer's reload behaviour.
How do I prevent renewal failures that cert-manager troubleshooting only finds at expiry?
Give renewal real headroom with renewBefore, alert on days-to-expiry per Certificate, and review an expiry-sorted inventory weekly. A solver path broken by an ingress or DNS change then surfaces as a ticket weeks before expiry instead of a browser-facing outage on the final day.
Preparing for Senior Platform & SRE Interviews
Practice real-world cluster triage, RBAC debugging, and pod scheduling scenarios in our Kubernetes scenario interview questions hub.
Explore Interview Scenarios →