How-to guide · Operate and monitor
How to fix cert-manager certificates stuck Pending or Issuing
In one sentence
Follow Certificate, CertificateRequest, Order and Challenge events to the blocked step, repair that dependency, and verify both the issued Secret and the served certificate.
- Platforms
- Kubernetes
- Linux
- Level
- Practitioner · 6 steps
On this page
- Before you start
- Steps
- 1. Confirm the cluster, namespace and Certificate
- 2. Inspect the CertificateRequest and its issuer
- 3. Follow the ACME Order to the failing Challenge
- 4. Repair an HTTP-01 self-check
- 5. Repair a DNS-01 self-check
- 6. Let reconciliation run and inspect the resulting deployment
- Check it worked
- If something goes wrong
- Why this works
- Go deeper
Before you start
kubectlaccess to the affected namespace and permission to read cert-manager resources and events.- The Certificate name, its namespace, and the expected DNS names.
- Access to the ingress, DNS or issuer configuration that owns the failing step.
- An existing cert-manager installation; use the setup guide if you are starting from scratch.
Pending and Issuing describe progress, not one universal failure. The useful message usually lives on a child resource. This guide follows cert-manager’s documented troubleshooting order, so you can fix the cause without deleting working TLS Secrets or creating repeated ACME requests.
Steps
1. Confirm the cluster, namespace and Certificate
The examples use namespace app, Certificate web-tls and hostname www.example.com. Substitute your own values consistently:
kubectl config current-context
kubectl get certificates.cert-manager.io -n app
kubectl describe certificate web-tls -n app
Read Conditions, Reason, Message and the most recent events. The official troubleshooting guide shows this common message:
Message: Issuing certificate as Secret does not exist
Reason: DoesNotExist
Status: False
Type: Ready
On first issuance, the missing output Secret is expected: cert-manager has not issued the certificate yet. Do not create a dummy TLS Secret to remove the message. Follow the event that identifies the new CertificateRequest.
If no Certificate exists, inspect the Ingress annotations and TLS block, or your explicitly applied Certificate manifest. A missing Certificate is a different problem from a blocked ACME challenge.
2. Inspect the CertificateRequest and its issuer
List requests, then describe the request named in the Certificate’s events. Replace REQUEST_NAME with that actual resource name:
kubectl get certificaterequests.cert-manager.io -n app
kubectl describe certificaterequest REQUEST_NAME -n app
kubectl get certificate web-tls -n app -o jsonpath='{.spec.issuerRef}'
A request may be waiting for approval, denied by policy, unable to find its issuer, or waiting on an ACME Order. Check the request’s Approved, Denied and Ready conditions. If an approval policy blocks it, repair the authorised request or policy through its owner; do not bypass approval to force issuance.
Match issuerRef.kind and issuerRef.name. An Issuer belongs to the Certificate’s namespace; a ClusterIssuer is cluster-scoped:
kubectl describe issuer letsencrypt-staging -n app
kubectl describe clusterissuer letsencrypt-staging
Run the command for the kind you actually use. Its Ready condition should be true. An invalid ACME contact, unreachable ACME directory, account registration error or DNS-provider credential error needs fixing before downstream work can finish.
For an Issuer, referenced Secrets normally live in its namespace. For a ClusterIssuer, they live in cert-manager’s configured cluster-resource namespace, commonly cert-manager. Check metadata without printing token or key values:
kubectl get secret DNS_CREDENTIAL_SECRET -n cert-manager
Use the namespace and Secret name from your issuer and deployment configuration. Never paste full Secret YAML into an issue or public diagnostic tool.
3. Follow the ACME Order to the failing Challenge
ACME issuers add two resources to the chain:
Certificate -> CertificateRequest -> Order -> Challenge
Other issuer types do not necessarily create Orders or Challenges. For ACME, use the names from the events rather than guessing generated suffixes:
kubectl get orders.acme.cert-manager.io -n app
kubectl describe order ORDER_NAME -n app
kubectl get challenges.acme.cert-manager.io -n app
kubectl describe challenge CHALLENGE_NAME -n app
Read State, Presented, Processing and Reason. A pending Order may simply be waiting for one of several names. Presented: true means the solver presented its response; it does not mean the CA accepted it.
cert-manager performs a self-check before asking the ACME CA to validate. A message such as Waiting for dns-01 challenge propagation can therefore describe cert-manager’s own view of DNS, before any CA rejection.
4. Repair an HTTP-01 self-check
Copy the exact challenge URL from the status message. From outside your cluster:
curl --fail --show-error --location \
http://www.example.com/.well-known/acme-challenge/TOKEN_FROM_CHALLENGE
kubectl get pods,services,ingresses -n app \
-l acme.cert-manager.io/http01-solver=true
Check the solver’s Ingress, Service and Pod. A 404 suggests the wrong route, ingress class or backend; a timeout suggests DNS, firewall, routing or a missing listener. Compare both A and AAAA records with the intended ingress address. Do not assume IPv6 is correct because IPv4 works.
Then test the same URL from an existing authorised diagnostic Pod that has curl:
kubectl exec -n app DIAGNOSTIC_POD -- \
curl --fail --show-error --location \
http://www.example.com/.well-known/acme-challenge/TOKEN_FROM_CHALLENGE
If the public request succeeds but the in-cluster request fails, investigate split DNS, NAT loopback and network policy. Avoid disabling the self-check as your first response. A redirect to HTTPS with a failing handshake may require the ingress-controller-specific temporary-certificate or edit-in-place configuration described in cert-manager’s troubleshooting page; those annotations are not universal fixes.
5. Repair a DNS-01 self-check
Check the exact name from the Challenge, usually _acme-challenge followed by the validated domain:
dig +short TXT _acme-challenge.example.com
dig +short NS example.com
dig @ns1.example.net TXT _acme-challenge.example.com
Replace the authoritative server with one returned for your zone. Check every authoritative server if answers differ. Compare that public view with DNS from inside the cluster. A visible record in a provider’s dashboard does not prove public resolvers can retrieve it.
The Challenge’s events reveal API authentication and permission failures. Fix the referenced Secret, zone selection or DNS permissions rather than repeatedly recreating the Challenge. Delegation and CNAME handling must match the solver configuration; see cert-manager’s DNS-01 documentation. For the validation mechanism itself, use the DNS-01 guide.
6. Let reconciliation run and inspect the resulting deployment
After fixing the dependency, watch the existing Certificate and recheck its child resources if progress stops:
kubectl get certificate web-tls -n app --watch
Use events and status before controller logs. If they do not explain the stall, inspect the controller logs for that resource and time. For an Order already marked invalid, follow your installed version’s documented retry or renewal procedure after correcting the cause. Do not continuously delete output Secrets or force renewals; that can remove working certificates and consume CA rate limits.
Check it worked
Wait for the Certificate, then inspect only the public certificate inside its output Secret:
kubectl wait --for=condition=Ready certificate/web-tls -n app --timeout=120s
kubectl get certificate web-tls -n app -o jsonpath='{.spec.secretName}'
kubectl get secret OUTPUT_SECRET_NAME -n app \
-o jsonpath='{.data.tls\.crt}' | base64 --decode | \
openssl x509 -noout -subject -issuer -dates -ext subjectAltName
Finally, check the certificate served by the ingress. Ready=True proves issuance, but a wrong Secret reference or failed ingress reload can still leave clients seeing another certificate. A staging certificate remains intentionally untrusted by browsers even after successful issuance.
If something goes wrong
- Still waiting for approval: inspect the approver’s policy and events before touching ACME.
- No matching solver: compare the requested DNS names with the issuer’s solver selectors and challenge types.
- Challenge works publicly but not in a Pod: repair the cluster’s DNS or network path.
- Order valid, browser still fails: check the Ingress Secret reference, namespace and deployed chain.
- Rate limit returned: respect the CA’s retry information; debug with staging instead of a production retry loop.
Why this works
cert-manager separates desired state, the CSR, the ACME order and the proof of domain control. Each resource records the reason it cannot proceed. Following those resources distinguishes issuance from deployment, the two separate jobs in a reliable certificate lifecycle.
Go deeper
- cert-manager: general troubleshooting: the resource chain and conditions.
- cert-manager: ACME troubleshooting: issuer, Order and Challenge failures.
- HTTP-01 configuration and DNS-01 configuration.
Early edition. Written with AI assistance and checked against primary sources; an independent expert review is planned. Found a mistake? Tell us.