cert-manager Certificate stuck with `Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'`.
IntermediateTroubleshootingTLS and certificate errors
Answer
Likely causes → The solver Ingress isn't picked up (wrong ingressClassName), DNS for the name doesn't point at the ingress yet, an HTTP→HTTPS redirect or auth middleware intercepts /.well-known/acme-challenge/, or a CDN caches the path.
Diagnose →
kubectl describe certificate app-tls
kubectl get challenges -A
kubectl describe challenge <name>
curl -v http://app.example.com/.well-known/acme-challenge/test
Fix → Set the right ingress class on the Issuer solver, fix DNS, exclude the challenge path from redirects and auth. For wildcards or private names use DNS-01.
Prevent → Alert on Certificates not Ready; prefer DNS-01 for internal hosts.
More on TLS and certificate errors
`curl: (60) SSL certificate problem: certificate has expired`Beginner`curl: (60) SSL certificate problem: unable to get local issuer certificate`Beginner`SSL: no alternative certificate subject name matches target host name 'api.example.com'`BeginnerSome clients get the wrong certificate (another site's) from a shared IP.Intermediate`SSL routines::sslv3 alert handshake failure` from `openssl` or curl.IntermediatePython `requests` fails with `SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain`.Beginner