A cert-manager Certificate stays `Ready=False` and the Challenge shows `Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'`
IntermediateTroubleshootingCertificates, TLS and security incident response
Answer
Likely causes → The solver's temporary Ingress or route for /.well-known/acme-challenge/<token> is not served. Typical reasons: the wrong ingressClassName in the Issuer solver, an HTTP-to-HTTPS redirect or auth in front of the path, or DNS for the host not yet pointing at this load balancer.
Diagnose →
cmctl status certificate api-tls -n prod
kubectl describe challenge -n prod
kubectl get ingress -n prod | grep cm-acme-http-solver
curl -v http://api.acme.com/.well-known/acme-challenge/test
Fix → Set the solver's ingress class to the one that actually serves the host:
solvers:
- http01:
ingress:
ingressClassName: nginx
Exempt the challenge path from forced HTTPS or auth, and fix DNS.
Prevent → For wildcards, internal hosts or anything behind a CDN, use DNS-01. Test new issuers against the Let's Encrypt staging endpoint.
More on Certificates, TLS and security incident response
A DNS-01 challenge hangs forever with `DNS record for "acme.com" not yet propagated`, although `dig` from your laptop shows the TXT recordAdvancedIssuance fails with `429 urn:ietf:params:acme:error:rateLimited: too many certificates already issued`BeginnerA service calling another internal service fails with `x509: certificate signed by unknown authority`BeginnerAt 05:30 every client starts failing with `x509: certificate has expired or is not yet valid`BeginnerBrowsers load `https://api.acme.com` fine, but `curl` and Java clients fail with `unable to get local issuer certificate`Intermediate`x509: certificate is valid for acme.com, *.acme.com, not api.eu.acme.com`Beginner