Chapter 19
Inventory, expiry and renewal
Every certificate expires and lifetimes keep shrinking, so you need an inventory, an owner for each certificate, monitoring of what servers really send, and automated renewal.
Topic
Every certificate expires, and public TLS certificates are getting much shorter lifetimes. Expired certificates are still a common cause of outages.
This hub covers keeping an inventory, renewing in time, automating with ACME (certbot, cert-manager, win-acme) and the dated schedule of shorter lifetimes, plus the expiry errors each tool prints.
Plain words first, then the real mechanism, what it looks like at work and why it matters.
Chapter 19
Every certificate expires and lifetimes keep shrinking, so you need an inventory, an owner for each certificate, monitoring of what servers really send, and automated renewal.
Chapter 20
ACME lets software prove control of a name, then fetch, renew and install certificates automatically: the only practical way to live with very short certificate lifetimes.
Chapter 11
Before issuing, a CA checks that you control each name, using a file, a DNS record or a TLS response, and reads CAA records; OV and EV check the organisation.
Step-by-step, with real commands and a way to check it worked.
You will have read expiry dates in files, live servers and certificate stores, and set up a check that warns before any certificate in a chain runs out.
certbot gets a Let's Encrypt certificate for your Linux server, installs it, renews it automatically on the CA's schedule, and reloads your web server each time.
cert-manager issues Let's Encrypt certificates for your Kubernetes Ingresses or Certificate resources, stores them in Secrets and renews them before they expire.
win-acme gets Let's Encrypt certificates for your IIS sites, binds them, and renews them every day from a scheduled task that follows the CA's renewal advice.
You will have a publicly trusted certificate for *.example.com and example.com, issued through the ACME DNS-01 challenge with a narrowly scoped DNS key, and renewing by itself.
You will have a dated plan that moves every public TLS certificate to automated renewal, with an inventory, owners, ARI, independent monitoring and a budget, before lifetimes shrink.
The exact messages tools and browsers print, with likely causes and safe fixes.
They run in your browser. Nothing you paste is sent anywhere.
Tool
See how long a certificate may live on any date, and when to renew.
Tool
Paste a PEM certificate and read every field in plain words.
Short lessons of about nine minutes each, with check questions.
Every term in plain words, linked to its full entry.