Certbot: Failed to renew certificate example.com with error — The following certs could not be renewed: /etc/letsencrypt/live/example.com/fullchain.pem (failure)
certbot renew failed for one or more certificates, so they will expire if you don't fix it.
The following certs could not be renewedFailed to renew certificate with errorAttempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.com.conf produced an unexpected errorAll renewals failed. The following certificates could not be renewedcertbot renew failed Meaning
Read /var/log/letsencrypt/letsencrypt.log for the real error. Common causes: the web server no longer serves /.well-known/acme-challenge/, port 80 closed or redirected badly, DNS changed, plugin/authenticator mismatch in renewal/*.conf, or a stopped web server when using standalone. Test with certbot renew --dry-run.
Common causes
- Port 80 blocked or HTTP→HTTPS redirect blocking the challenge
- Webroot path changed
- Standalone authenticator while Nginx uses port 80
- DNS no longer pointing to the server
- Hook script failing
⚡ Quick fix
certbot renew --dry-runand read the log- Fix the renewal config (
/etc/letsencrypt/renewal/example.com.conf) - Make sure a timer/cron runs
certbot renewand reloads the web server
Detailed fix by platform
Linux
sudo certbot renew --dry-run;sudo systemctl list-timers | grep certbot;sudo tail -50 /var/log/letsencrypt/letsencrypt.log
How to diagnose
- Log — Error in letsencrypt.log?
- Port 80 — Reachable?
- Timer — Active?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Challenge failed for domain Let’s Encrypt / Certbot: Challenge failed for domain example.com — Invalid response from http://example.com/.well-known/acme-challenge/x: 404
- Could not automatically find a matching server block Certbot: Could not automatically find a matching server block for example.com. Set the `server_name` directive to use the Nginx installer
- DNS problem: NXDOMAIN looking up A Certbot: Detail: DNS problem: NXDOMAIN looking up A for www.example.com - check that a DNS record exists for this domain
Most viewed in SSL / TLS
- NET::ERR_CERT_COMMON_NAME_INVALID NET::ERR_CERT_COMMON_NAME_INVALID: Your connection is not private (certificate is for a different domain)
- no start line OpenSSL: unable to load certificate / PEM routines:get_name:no start line (key values mismatch)
- Certificate pinning failure! Android/OkHttp: javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure! Peer certificate chain: sha256/... Pinned certificates for api.example.com
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 4 Nov 2026