A cert-manager Certificate is stuck at "Issuing"; the Challenge says "Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'".
IntermediateTroubleshootingDNS, TLS and certificates
Answer
Likely causes → Let's Encrypt (and cert-manager's self-check) cannot fetch /.well-known/acme-challenge/<token>. Common reasons: the solver Ingress uses the wrong ingressClassName, a redirect or auth rule on the main Ingress intercepts the path, DNS for the host doesn't point at this ingress yet, or a CDN/WAF in front blocks it.
Diagnose →
kubectl get challenge -n prod -o wide
kubectl get ingress -n prod | grep cm-acme-http-solver
curl -v http://app.example.com/.well-known/acme-challenge/test
dig +short app.example.com
Fix → Set the correct class on the Issuer (solvers[].http01.ingress.ingressClassName: nginx), exempt /.well-known/acme-challenge/ from forced auth, and make sure DNS resolves to this ingress. If a CDN sits in front, switch to a DNS-01 solver.
Prevent → Use DNS-01 for anything behind a CDN or private network, and alert on Certificates that are not Ready for more than an hour.
More on DNS, TLS and certificates
Monday morning every browser shows "NET::ERR_CERT_DATE_INVALID" for app.example.com; the cert is from Let's Encrypt via cert-manager.BeginnerYou changed the A record for api.example.com to a new load balancer an hour ago, but some users still reach the old server.BeginnerAfter switching to a slim base image, the service fails every outbound HTTPS call with "x509: certificate signed by unknown authority".BeginnerBrowsers load the site fine, but Android apps and `curl` from servers fail with "unable to verify the first certificate" or "unable to get local issuer certificate".Intermediate`https://example.com` works, but `https://www.example.com` shows "NET::ERR_CERT_COMMON_NAME_INVALID".BeginnerPods across the cluster log "dial udp 10.96.0.10:53: i/o timeout" and "getaddrinfo EAI_AGAIN" during peak traffic.Intermediate