Issuance
The ACME client completes a challenge and writes a new certificate and key to its storage directory. This is the step that most monitoring watches, and it is the step that usually succeeds.
The renewal log says success, the files on disk have new dates, and the browser still shows a certificate that expires in two days. On a reverse proxy the certificate is loaded into memory at start, so writing a new file changes nothing until something tells the server to read it again. On a fleet, one instance is usually missed.
This page is free. It covers how to compare the certificate on disk with the certificate actually served, why a successful renewal is not a successful deploy, and the monitoring that fails before the expiry page does.
The ACME client completes a challenge and writes a new certificate and key to its storage directory. This is the step that most monitoring watches, and it is the step that usually succeeds.
The server process reads the new files, validates the chain and starts presenting them. Without a reload, hook or restart, the old certificate stays in memory until the process is replaced.
Only the certificate presented in the TLS handshake for that SNI name. A file with a fresh timestamp proves nothing about the handshake.
Multiple server blocks, a copied certificate in /etc/ssl, a container image built with the old files, or a CDN that terminates TLS before your origin is ever reached.
| Command or view | What it tells you |
|---|---|
| echo | openssl s_client -connect "$HOST:443" -servername "$HOST" 2>/dev/null | openssl x509 -noout -subject -issuer -dates | The certificate the server actually presents for that name, with its not-after date. Use SNI or you may see the default vhost. |
| openssl x509 -in /etc/letsencrypt/live/"$HOST"/fullchain.pem -noout -dates | The certificate on disk. If this is newer than the served one, the reload did not happen. |
| certbot certificates | Every lineage the client knows, its expiry and the file paths. Two lineages for one name is a common wrong-path cause. |
| certbot renew --dry-run | Whether renewal would succeed now, including challenges and hooks, without consuming a rate limit. |
| systemctl list-timers | grep -i -E 'certbot|acme' | Whether a timer exists, when it last ran and when it runs next. A timer that never runs looks exactly like a certificate that never expires, until it does. |
| nginx -T 2>/dev/null | grep -n 'ssl_certificate' | Which files each server block loads. A block pointing at a copy or an old lineage will keep serving it after renewal. |
| for ip in $ORIGIN_IPS; do echo "== $ip"; curl -sS --resolve "$HOST:443:$ip" "https://$HOST" -o /dev/null -w '%{ssl_verify_result}\n'; done | Per-instance verification behind a load balancer. One stale node fails while the service as a whole looks healthy. |
| # | Failure mode | What you see | What to do |
|---|---|---|---|
| 1 | No deploy hook | certbot renew logs success, the files are new, and the served certificate keeps its old not-after date. | Install a deploy hook that runs the configuration test and a reload, and fail the hook loudly if either command fails. |
| 2 | The server reads a different path | Renewal writes under /etc/letsencrypt/live while the vhost loads a copy from /etc/ssl. | Make one path authoritative, point every vhost at it, and grep the rendered configuration for certificate paths after every change. |
| 3 | One instance in the fleet missed | The probe passes because it hits a healthy node; users behind another node get the expired certificate. | Probe every origin address with SNI, and reload as part of the same rollout that renews. |
| 4 | Renewal failed silently | No new file, no alert. The challenge failed because port 80 was closed, a DNS token was missing, or a redirect swallowed the path. | Alert on renewal failure and on remaining lifetime, not only on the expiry date; run --dry-run after every proxy change. |
| 5 | Monitoring the file, not the handshake | Dashboards are green because the file is fresh; the handshake still presents the old certificate. | Monitor the served certificate over TLS from outside, on every name, and alert at a fixed number of days remaining. |
| 6 | Incomplete chain after renewal | Browsers work, command-line clients and some mobile stacks fail with an unknown issuer. | Serve the full chain including intermediates, and test with a client that does not cache intermediates. |
| 7 | Termination happens somewhere else | The origin certificate is perfect, but the CDN or load balancer presents its own certificate and that is what expires. | Inventory every TLS termination point, including managed ones, and monitor the certificate each one presents. |
| Decision | Question to answer |
|---|---|
| Authority | Which path is the only certificate source, and does every vhost, container and image build read from it? |
| Hook | Does the deploy hook run the config test first, then a graceful reload, and does a failure page someone? |
| Probe | Do we check the handshake for each name and each origin address, not the file timestamp? |
| Warning line | At how many days remaining does the alert fire, and is that longer than the time it takes a human to act? |
| Rollback | Is the previous certificate kept until the new one has served traffic successfully for a full day? |
Run the renewal dry run on a schedule, not only after setup. It exercises the challenge, the hook and the reload path without touching the live certificate.
Renew a staging certificate and confirm the served certificate changes within one reload cycle. Record how long it took.
Break the configuration on purpose in staging and confirm the hook fails loudly and leaves the old certificate serving instead of taking the site down.
Set the warning threshold temporarily high and confirm the alert reaches a human with the host, the name and the days remaining.
Because success refers to issuance. Check the served certificate with openssl s_client and compare its dates with the file. If the served one is older, the process did not reload or is reading another path.
A graceful reload is usually enough and avoids dropping connections. A restart is the fallback when the process does not pick up the new files. Either way, test the configuration first so a bad file does not take the listener down.
Yes, for the connection between the CDN and the origin, and for any name that bypasses the CDN. Both certificates expire, and they are usually renewed by different systems with different alerts.
Early enough that a human can debug a failed challenge and still have time for a manual issuance. Pick a threshold based on your slowest realistic fix, not on the certificate lifetime.
The paid runbooks cover the surrounding failures: shrinking certificate lifetimes on a public schedule, cache rules that hide a deploy, and platform defaults that only bite on a real domain.
This page is free, no checkout. Paid runbooks are $9.99 each and covered by the 7-day refund policy at /runbooks/refund.