How to monitor SSL certificate expiration for multiple domains

The problem with "auto-renew is on"

If you look after twenty or eighty client sites, most certificates renew on their own. Monitoring is for the ones that don't. On shared hosting, renewal can fail without anyone noticing: a DNS change, a redirect rule or a firewall blocks the validation request, or the hosting plan lapses. You find out when the client emails you a screenshot of a "Not Secure" warning.

This happens more often now. Public certificates issued since 15 March 2026 can be valid for at most 200 days. That limit falls to 100 days in March 2027 and to 47 days in March 2029 (timeline). Also, Let's Encrypt ended its expiry reminder emails in June 2025, so that safety net is gone.

Here is a routine that works whatever tools you use.

Step 1: List every hostname, not every client

One client often means several certificates. For each client, write down:

A spreadsheet or plain text file with one hostname per line is enough to start.

Step 2: Collect the current expiry date for each

Run this over the file to get each hostname's real expiry date (Linux/WSL; on macOS use gdate from GNU coreutils):

`bash

while read -r d; do

end=$(echo | timeout 10 openssl s_client -connect "$d:443" -servername "$d" 2>/dev/null \

| openssl x509 -noout -enddate 2>/dev/null | cut -d= -f2)

[ -z "$end" ] && { echo "$d, ERROR"; continue; }

echo "$d, $(date -d "$end" +%F)"

done < hosts.txt

`

Any ERROR line needs a look today. The site may be down, the DNS may have moved, or the hostname may no longer be in use. Remove it from the list or fix it.

Step 3: Sort by days left and set clear thresholds

A list sorted alphabetically hides the one that matters. Sort by days remaining, and use fixed bands so anyone on the team reads it the same way:

| Status | Days left | What to do |

|---|---|---|

| Expired | below 0 | Fix now; the site is showing a warning |

| Urgent | 7 or less | Renew by hand today |

| Soon | 30 or less | Check that auto-renewal actually ran |

| OK | more than 30 | Nothing |

Why 30 days: common ACME clients such as Certbot try to renew about 30 days before expiry by default. A certificate that's still under 30 days a few days later is a sign renewal is failing. Fix it while you still have weeks, not hours.

Step 4: Put the reminders where you already look

A list nobody opens doesn't help. Pick one place:

Keep reminders short and actionable: client.com — expires 2026-12-01 (12 days) — check AutoSSL in cPanel.

Step 5: Re-check after every renewal

When a certificate renews, its expiry date changes, so update the list. If you take the dates from the live site (Step 2) rather than from the hosting panel, you'll also catch the case where a new certificate was issued but the server is still serving the old one.

A monthly re-run of the script plus updating the dates takes a few minutes, even for 50 hostnames. With 200-day certificates, every certificate on the list comes up for renewal at least twice a year. Under 100-day and 47-day lifetimes it will be more often.

Pitfalls agencies run into

Doing this with a tool

You can do all of the above with a spreadsheet and a calendar. We make Lapsewatch, which handles Steps 3 and 4 in one place. Paste hostname, date lines (the Step 2 output) and you get a table sorted by days left, with the Expired, Urgent, Soon and OK bands above. It works from the dates you enter. It doesn't scan your sites, so keep re-running Step 2. You can save up to 5 domains for free. The Freelancer plan ($9/month) holds up to 100 domains and adds a calendar file with reminders at 30, 14 and 7 days, ready-to-paste Slack and email reminder text, and CSV import and export.

Try it