AperioFlow Start free

Blog

Certificate expiry: how HTTPS monitors warn you before a site breaks

Every HTTPS site depends on a certificate. It proves to a visitor's browser that the site is who it says it is, and it has an end date. When that date passes, browsers warn people away, and a site that worked yesterday can look broken today. Nobody has to make a mistake for this to happen. The certificate simply runs out.

The problem

Certificates last a set period, and the renewal often happens in the background. It might be handled by a hosting panel, an automated process, or a step someone set up a year ago and forgot. When renewal works, nobody thinks about it. When it fails, the first person to notice is often a customer, a client, or whoever happens to load the site that morning.

For a solo developer or a freelancer who runs client sites, that is the worst way to find out. The client sees the warning, not you. For a small team, the message can sit in an inbox that nobody reads closely. The problem is rarely that renewal is hard. It is that a date passes quietly and nobody is told in time to act.

What you want is a warning while there is still time to renew. That means a check that runs on a schedule, reads the certificate, works out how many days are left, and tells the right person before the date arrives. It also means knowing which sites have certificates that need attention this month, not just the one you happened to look at.

How it works

AperioFlow's HTTPS monitors do this as part of the check they already run. There is no separate certificate monitor to set up. When you add an HTTPS monitor for a site, each check also looks at the site's certificate and works out how long it has left.

By default, you get a warning when 30 days, 14 days and 7 days are left. Those three points give you a month to plan, a fortnight to chase anything that is stuck, and a final week as a backstop. You can change the first warning for each monitor, so a site with a slow or awkward renewal process can get its warning earlier.

Warnings go by email, web push and webhooks. Alert emails go only to people in your organisation, so the warning stays with the people who can renew the certificate. If you send warnings to a shared address, check that someone reads it.

A few points to keep in mind:

  • The warning is about the certificate on the address you are monitoring. If a host or platform handles renewal for you, you still need to confirm that the new certificate is in place once the old one is close to expiry.
  • A warning tells you the date is close. It does not renew anything for you.
  • Warnings are only as useful as the people who receive them. Send them to someone who will act on them, and keep that address current when people change roles.

The same HTTPS monitor also tells you when the site stops responding, so one monitor covers both the site being up and the certificate being valid. That is one place to look rather than two.

Getting started

If you already have a site in AperioFlow, setting this up takes a few minutes. Add an HTTPS monitor for the address, check the default warning points, and change the first warning if a renewal needs more lead time. Then add the people who should receive the email, and test the path before you rely on it.

If you run several client sites, give each one its own monitor so that a warning names the site straight away. It is also worth writing down, for each client, who renews the certificate and how. A warning at 14 days is much more useful when the person receiving it already knows what to do.

Reviewing the monitor list once a week is a useful habit. A certificate with 30 days left is fine. The warning at 7 days should be a reminder, not the first time anyone has looked at that site.

AperioFlow's free plan includes 10 monitors, so you can try HTTPS monitoring on your own sites before you move anything else across. Start free at https://app.aperioflow.co.uk/#/signup

Start free More from the blog

Built for the people who write the code and answer the phone when it breaks.

Run from the UK. Hosted in the UK and Europe.

UK time --:--

Already in?Open the app Start free today
View our policies