Interview Prep/DevSecOps/Certificates, TLS and security incident response

Issuance fails with `429 urn:ietf:params:acme:error:rateLimited: too many certificates already issued`

BeginnerTroubleshootingCertificates, TLS and security incident response
Answer

Likely causes → You hit a Let's Encrypt rate limit, usually the duplicate-certificate limit (the same set of names re-issued too often) or the per-registered-domain weekly limit. Typical triggers are a CrashLooping deploy that deletes and recreates certificate Secrets, or many preview environments.

Diagnose →

kubectl get certificaterequest -A --sort-by=.metadata.creationTimestamp | tail -20
kubectl describe order -n prod | grep -A2 -i ratelimit

Fix → Stop the churn and wait out the window. Meanwhile, move preview environments to one wildcard certificate or to the staging issuer.

Prevent → Use the staging ACME endpoint for test setups, never delete TLS Secrets in deploy scripts, and use a wildcard for *.preview.acme.com.

All DevSecOps questions

More on Certificates, TLS and security incident response