Fix "SSL Certificate Renewal Failed" Errors
When SSL certificate renewal failed, the cause is almost always one of four things: DNS no longer points at the server, the HTTP-01 challenge path is blocked, the DNS API credentials for a wildcard expired, or the server never reloaded the new certificate. Run certbot renew --dry-run and read the log to find which one, then use the fix below.
Why SSL certificate renewal failed: start with the error message
The renewal log tells you which challenge failed and why. For Certbot:
certbot renew --dry-run
cat /var/log/letsencrypt/letsencrypt.log | tail -n 50
The dry run exercises the real validation path without changing anything, and the log names the failing domain and the challenge type. Most failures are one of the four below.
SSL certificate renewal failed, cause 1: DNS no longer points at you
Someone migrated the site, changed a record, or let an AAAA entry go stale, and the CA's validation request now lands on the wrong server. Confirm where the domain actually resolves:
dig A example.com +short
dig AAAA example.com +short
Or use a DNS lookup to see what public resolvers return. If the answers are wrong, fix the records and wait for the old TTL to expire before retrying.
SSL certificate renewal failed, cause 2: the HTTP-01 challenge path is blocked
The CA fetches a token from /.well-known/acme-challenge/ over port 80. This breaks when a firewall closes port 80, when an HTTPS redirect intercepts the request before the webroot serves it, or when a proxy swallows the path. Test it yourself:
curl -I http://example.com/.well-known/acme-challenge/test
The request must reach your server and get a 404 or a token, not a connection error or an unexpected redirect. Exempt the challenge path from your redirect rule; generators like the HTTPS Redirect Generator produce rules that leave it alone.
Cause 3: Wildcard renewal and DNS API credentials
Wildcard certificates renew through DNS-01, which usually means an API token for your DNS provider. Tokens expire, accounts change, and providers rotate credentials. If renewal suddenly fails for a wildcard that used to work, re-check the credentials file your DNS plugin uses and test a manual run.
Cause 4: Renewal works but the server never reloads
The subtlest failure: Certbot renews the certificate on disk, but Nginx, Apache, or HAProxy keeps serving the old one because the deploy hook is missing or broken. Check what the server actually presents:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
| openssl x509 -noout -dates
Compare the dates to the files on disk. If they differ, add a deploy hook that reloads the web server, and confirm the live certificate with the SSL Checker.
When you need a certificate right now
If the expiry is days away and the automation will not cooperate, issue a certificate manually in the browser at TryFreeSSL, install it by hand, and fix the automation afterward without time pressure. A manually installed certificate is identical to an automated one; only the renewal path differs.
Related reading: renewing a free SSL certificate automatically, fixing Certbot renewal errors and SSL certificate expiration alerts.
Frequently Asked Questions
How often does Certbot try to renew?
The systemd timer or cron entry typically runs twice a day, but it only renews certificates that are due. Since Certbot 4.0.0, that means less than a third of the lifetime is left: 30 days on a 90-day certificate, about 21 on a 64-day one (Certbot docs). Failures are retried on the next run, which is why monitoring matters more than the schedule.
Can rate limits cause renewal failure?
Yes. Let's Encrypt allows 5 authorization failures per identifier per account per hour and 50 certificates per registered domain per 7 days (rate limits). Stop retrying blindly, fix the underlying problem, and use the staging environment to test.
Should I switch challenge types to fix a stubborn failure?
Often yes. If HTTP-01 keeps failing because of proxy or firewall rules you cannot change, DNS-01 with an API-capable DNS provider sidesteps the web server entirely.
Does a CAA record affect renewals?
Yes. CAs check CAA on every issuance, including renewals. If someone added a CAA record that does not name your CA, renewals fail until the record is corrected.
Will this get harder when certificates last 64 days?
Failures show up sooner, because renewal runs more often. Let's Encrypt moves its default lifetime to 64 days on 10 February 2027 and 45 days on 16 February 2028 (Let's Encrypt announcement), so fix the cause now instead of renewing by hand each time.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.