Let's Encrypt certificates are short-lived, so everything depends on automatic renewal. Normally the client fetches a new certificate about a month before expiry and you never notice. Sometimes, though, renewal fails silently for weeks until visitors see a "connection not private" error. Start by checking which certificate the site actually serves and when it expires, then run a dry-run renewal and read the error; Certbot logs to /var/log/letsencrypt/letsencrypt.log.
echo | openssl s_client -connect misol.uz:443 -servername misol.uz 2>/dev/null \
| openssl x509 -noout -subject -dates
certbot renew --dry-run
1. The domain now points elsewhere
If the site moved but the old server still runs renewal, or vice versa, HTTP-01 validation goes to whatever IP the domain resolves to now and fails. Watch the AAAA record in particular: Let's Encrypt prefers IPv6, and a stale IPv6 address left over from an old host breaks validation even when IPv4 is perfect.
dig +short misol.uz A
dig +short misol.uz AAAA
2. One name on the certificate is dead
Every name on a certificate is revalidated at renewal, and one failure blocks the whole thing. A construction company in Andijan dropped shop.misol.uz and deleted its DNS record, but the name stayed on the certificate. Reissue with only the names that work:
certbot certonly --cert-name misol.uz --webroot -w /var/www/misol.uz \
-d misol.uz -d www.misol.uz
3. Port 80 is closed or redirects badly
HTTP-01 always starts on port 80. Closing it in the firewall breaks renewal, even if the first certificate was obtained some other way. Redirects to HTTPS are fine as long as the challenge file is reachable at the end of the chain; a redirect to a different domain or a non-standard port is not.
ss -tlnp | grep ':80 '
curl -I http://misol.uz/.well-known/acme-challenge/test
4. The .well-known path is blocked
Security plugins, .htaccess rules denying dot-folders, framework routing that sends everything to index.php, or proxy bot protection can block /.well-known/acme-challenge/. Drop a test file into that directory and fetch it from outside; you should get a 200 and see its contents. In Nginx, put an explicit exception before any rule that denies hidden files.
location ^~ /.well-known/acme-challenge/ {
root /var/www/misol.uz;
allow all;
}
location ~ /\. { deny all; }
5. A CAA record excludes Let's Encrypt
If a CAA record allows only another CA, issuance is refused and the error mentions CAA. No CAA record means no restriction; if one exists, add Let's Encrypt alongside any other CA you rely on.
dig +short misol.uz CAA
misol.uz. IN CAA 0 issue "letsencrypt.org"
6. The renewal job never runs
Package installs usually add a systemd timer; other installs need a cron entry. Server rebuilds and recreated containers lose them. For DNS-01 certificates, an expired or revoked DNS API token has the same effect.
systemctl list-timers | grep -i certbot
crontab -l | grep -i -E 'certbot|acme'
7. Renewed, but the web server serves the old one
Nginx and Apache read certificates only at start or reload. Without a reload after renewal, the new file sits on disk while the old one stays in memory, so certbot certificates shows a fresh date while browsers still see the expired certificate. Add a deploy hook so it happens automatically.
certbot renew --deploy-hook "systemctl reload nginx"
On shared hosting
The panel handles renewal, so most of these causes don't apply, but the first two still do. sayt.uz customers can check A records in the cabinet's DNS section and open a support ticket with the domain name if renewal still fails.