Home lab certificate expiry monitoring: check the cert a client actually sees
Short answer first. Automated renewal is not monitoring. A renewal job can succeed, fail, or quietly stop running, and none of those states tells you what certificate a browser connecting to your service right now is actually being served. Expiry monitoring is the independent check: on a schedule, from the client side, read the served certificate, count the days left, and alert while there is still time to fix the cause. This guide builds that check for the certificates a home lab really runs, including the internal ones most guides forget, and updates the alert maths for shorter certificate lifetimes.
The date that changes the maths
On October 7, 2026, Let’s Encrypt announced that certificates issued or renewed on or after February 10, 2027 will have a 64 day lifetime by default, down from 90 days, unless a subscriber selects a shorter 45 day or 6 day profile. Certificates already issued keep their existing lifetime, Let’s Encrypt will not revoke valid certificates as part of the change, and it expects the last 90 day certificate to expire on May 11, 2027. The staging environment switched to 64 day certificates on October 14, 2026 so operators can test before production changes. Default lifetimes of 45 days follow in 2028.
| Lifetime | Renew at about two thirds | Authorization reuse | What breaks first |
|---|---|---|---|
| 90 days (current default) | About day 60 | 30 days | Nothing yet, which is the trap |
| 64 days (from February 10, 2027) | About day 43 | 10 days | Scripts hard coded to renew near day 60 or day 80 |
| 45 days (planned for 2028) | About day 30 | Seven hours | Fixed day counts again, plus validation reuse assumptions |
Let’s Encrypt guidance is specific. If a renewal client supports ACME Renewal Information, known as ARI, the client is told when to renew and should need no change. If renewals are hard coded to a date counted from expiration, update them to renew at approximately two thirds of the lifetime instead, and search cron jobs, wrapper scripts, and runbooks for common hard coded numbers such as 83, 80, or 60. The same announcement is blunt about the second half of the job: use the change as an opportunity to automate certificate reload and deployment, and to add alerting for renewal failures. A renewed certificate file that no service ever reloads changes nothing a client can see.
Inventory first: every certificate, not just the public one
Most expiry pain in a home lab comes from a certificate nobody listed. The public reverse proxy is the obvious one. The quieter ones are the service that terminates TLS itself on its own port, the internal certificate authority issuing for names that never leave the LAN, and the mail or directory style services whose TLS is not plain HTTPS. Work through four groups and write each one down with its hostname, its port, and who renews it:
- Proxy served names. Every public and internal name the reverse proxy answers for. Check by hostname, never by bare IP address.
- Direct service certificates. Anything that serves its own TLS on a nonstandard port, where the proxy check will never see it.
- Internal CA and self signed certificates. No public expiry reminder exists for these. The inventory is the reminder system.
- Non web TLS. Since version 2.1, Uptime Kuma TCP port monitors also check certificates, including IMAPS and STARTTLS for SMTP, IMAP, and XMPP, so mail style services belong on the same list.
Two entries per certificate are enough: the exact hostname a client uses, and the renewal owner, meaning the proxy, an ACME client, or a person. That second column is where future outages hide. If the owner column says a person, that certificate gets the earliest alert threshold in the next section.
Set up the checks, step by step
- Add one HTTPS monitor per hostname in Uptime Kuma. Use the hostname, not the IP address. A request without the right server name can be handed the server default certificate instead, and the expiry you read belongs to the wrong certificate.
- Turn on Certificate Expiry Notification for each monitor. The checkbox is off by default in HTTP monitors, so an uptime monitor alone is not an expiry monitor until this is enabled.
- Set the warning days under Settings, then Notifications, then TLS Certificate Expiry. The documented defaults are 7, 14, and 21 days. Keep them for a 90 day certificate. For a 64 day or 45 day certificate, treat 21 days as the serious alert rather than the early one, because renewal should already have happened at about two thirds of the lifetime.
- Leave Ignore TLS errors off on every monitor you want expiry warnings from. That toggle suits self signed internal hosts, but it stops Uptime Kuma checking the certificate at all, including its expiry. For an internal self signed service, prefer trusting your internal CA on the monitoring host, or track that certificate with the scripted check below where you control verification.
- Add the served certificate check for anything Kuma cannot reach. From any Linux shell:
echo | openssl s_client -connect service.example.lan:443 -servername service.example.lan 2>/dev/null | openssl x509 -noout -dates. ThenotAfterline is the expiry of the certificate the server presents in a real connection. The-checkendform returns an exit code a cron job can alert on:openssl x509 -noout -checkend 1209600checks a 14 day window. - After the next renewal, repeat step 5 and compare dates. A new
notAfterdate served to a client proves renewal and reload both worked. The same old date means the file renewed and the service did not pick it up.
What success looks like
Pick one service and shorten its effective warning window in a test, or
wait for the first real threshold crossing. Success is four things together:
the monitor names the hostname and the days remaining, the alert arrives on a
channel you actually read, the inventory entry names who renews that
certificate, and after renewal the served notAfter date moves.
If the alert arrives but the served date never moves after a renewal, you have
found a reload problem while it is still a task, not an outage.
Thresholds are a decision, not a default
Alert days should be set as a share of lifetime, not copied from a guide written for a different lifetime. A practical split: fully automated renewal with ARI or a two thirds schedule gets a warning at about one third of the lifetime remaining, because anything later means automation already failed once. A manually renewed internal certificate gets its first warning at half its lifetime remaining, because the fix involves a person finding time. A 6 day profile certificate should never be expiry monitored as a safety net at all. At that lifetime, monitor the renewal job itself, since a human cannot reliably respond inside the window.
, Dex Carter, Tech Writer