HTTPS Certificate Renewed on Disk But Browser Still Sees Expired Cert

Certbot renewed `/etc/letsencrypt/live/.../fullchain.pem` without reloading Nginx workers.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: HTTPS Certificate Renewed on Disk But Browser Still Sees Expired Cert Platform: Security
Common Root Causes:
  • Certbot renewed `/etc/letsencrypt/live/.../fullchain.pem` without reloading Nginx workers.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Configure `--deploy-hook "systemctl reload nginx"` in Certbot renewal config.
Safe Diagnostic Command:
openssl s_client -connect <domain>:443 -servername <domain> 2>/dev/null | openssl x509 -noout -dates
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Certbot renewed `/etc/letsencrypt/live/.../fullchain.pem` without reloading Nginx workers. Recommended diagnostic: `openssl s_client -connect <domain>:443 -servername <domain> 2>/dev/null | openssl x509 -noout -dates`. Remediation: Configure `--deploy-hook "systemctl reload nginx"` in Certbot renewal config.

Worked Examples

  • Run `openssl s_client -connect <domain>:443 -servername <domain> 2>/dev/null | openssl x509 -noout -dates` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-linux-certbot-renew-hook-nginx-stale · Independently verified: 2026-11-25

Related Resources