100-Day TLS Certificate Renewal on Windows and Linux

By Sean Monaghan · · 4 min read

The renewal job says it succeeded. Nginx has a new PEM file, IIS has a new certificate in the machine store, and the public hostname still serves the old one. That is the bit I would fix before March.

From 15 March 2027, newly issued publicly trusted TLS subscriber certificates have a maximum validity of 100 days, down from 200 days. From 15 March 2029 the cap drops to 47 days. The same issuance dates apply to publicly trusted certificates in the UK and EU. Existing certificates keep their original expiry, and private PKI follows its own policy. Your issuer can already issue for less than the cap, so schedule renewals against the actual expiry. CA/Browser Forum TLS Baseline Requirements, section 6.3.2.

Start with the public hostname

Pick one hostname and trace the TLS connection from the user's side. Is it terminating on IIS, Nginx, HAProxy or a managed load balancer? Write down the issuer, owner, port, SNI name, expected certificate and every place the certificate is installed. Include the standby node and any separate origin certificate that also needs renewal.

In a UK or EU team, the owner of a public hostname might work in a different country from the engineer who can change its backend. Keep the on-call contact and the change window beside the endpoint. If a scheduled change freeze falls inside the renewal window, work out who can approve a retry before the freeze starts.

Windows IIS certificate renewal

Use the ACME client or CA workflow you already trust. On IIS, installation puts the certificate and its private key in the intended machine store. The IIS HTTPS binding has to reference the replacement certificate. Check each hostname and port, including SNI bindings on shared sites, and confirm the new thumbprint on every node that terminates TLS.

Try it on one node first. If your workflow moves a PFX, restrict who can retrieve it and clean up the temporary copy after import. Keep the previous valid certificate available for rollback under the same access controls. For agentless delivery over SSH/SFTP, Windows needs OpenSSH Server, and the deployment identity needs the rights required by the install and binding procedure.

Linux certificate renewal for Nginx and HAProxy

Check exactly which file the service loads. Nginx commonly uses separate full-chain and private-key files. HAProxy configurations often use a combined PEM. Stage the new files with the intended ownership and permissions, validate the service configuration and run the supported reload or activation step. With a pair of proxies, verify the first node before rolling forward to the second.

If you already use Certbot or another ACME client, check the deployment hook. It should run after a successful renewal and record whether installation and activation worked. Schedule retries while the current certificate still has time left. With DNS-01, include propagation and credential failures in the retry plan.

Verify the certificate the endpoint serves

Run the check from where clients connect. Use the expected hostname for SNI, especially when probing a specific load balancer member by address. For an example public endpoint, this gives you the served leaf's expiry and SHA-256 fingerprint to compare against the replacement:

openssl s_client -connect tls.example.com:443 -servername tls.example.com </dev/null \
  | openssl x509 -noout -enddate -fingerprint -sha256

Check the hostname and trust chain with a normal validating client as well. Record the expected fingerprint, the observed fingerprint, the endpoint and the time. If the job reports success but that check still returns the old fingerprint, page the service owner while there is time to decide whether to retry or roll back.

What I would test this week

Take one IIS site and one Linux proxy through renewal, installation, activation and verification. Use staging where your issuer supports it. Time the retries, rehearse a failed reload and make sure someone owns the alert if the certificate is still old. Then schedule the same test for the services that need a bastion or a manual change window.

We build CertLocker for that delivery and verification work. If you want to see how it handles the SSH/SFTP and endpoint check steps, the certificate delivery guide shows the workflow.