Monday morning every browser shows "NET::ERR_CERT_DATE_INVALID" for app.example.com; the cert is from Let's Encrypt via cert-manager.
BeginnerTroubleshootingDNS, TLS and certificates
Answer
Likely causes → The certificate expired because renewal silently failed. Let's Encrypt certs live 90 days and cert-manager renews at around 30 days left, so the renewal had been failing for weeks: a broken HTTP-01 path, a DNS-01 credential that expired, or a rate limit.
Diagnose →
echo | openssl s_client -connect app.example.com:443 -servername app.example.com 2>/dev/null | openssl x509 -noout -dates
kubectl get certificate,certificaterequest,order,challenge -A
kubectl describe certificate app-tls -n prod
kubectl logs -n cert-manager deploy/cert-manager | grep -i error | tail
Fix → Fix the challenge path or credentials, then force a reissue with cmctl renew app-tls -n prod. If issuance will take too long, upload a manually issued cert as the TLS Secret to stop the bleeding.
Prevent → Alert on certmanager_certificate_expiration_timestamp_seconds - time() < 14*24*3600 and run an external blackbox probe that checks days-to-expiry from outside the cluster.
More on DNS, TLS and certificates
You changed the A record for api.example.com to a new load balancer an hour ago, but some users still reach the old server.BeginnerA cert-manager Certificate is stuck at "Issuing"; the Challenge says "Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'".IntermediateAfter 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