18.1 Certificate renewed but the server still serves the old one

The renewal succeeded and the new certificate is on disk, yet browsers still show the old one. That means the running service never loaded or bound the new cert. First check what the server is actually sending over the wire, then jump to your platform below.

Check what the server actually sends

Ask the server directly instead of trusting logs or files on disk. Pass -servername so you get the SNI certificate a browser sees:

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

Compare that SHA-256 fingerprint with the renewed file on disk:

openssl x509 -in fullchain.pem -noout -fingerprint -sha256

If they don’t match, the endpoint isn’t serving the new cert. No openssl handy? Use our certificate chain checker for the live server and the PEM decoder for the file (no account needed).

nginx or Apache still serves the old certificate

Usually one of three causes:

  • Never reloaded. nginx and Apache only read cert files on start or reload. Run systemctl reload nginx or apachectl graceful (Certbot without a deploy hook stops after writing the file).
  • Wrong file path. Renewal wrote to /etc/letsencrypt/live/example.com/, while the config points to a copy in /etc/ssl/. Run nginx -T | grep ssl_certificate to check what nginx loaded.
  • Wrong server block. A default_server block or mismatched server_name answered instead, which is why -servername matters.

IIS still serves the old certificate

IIS binds sites to a certificate thumbprint in the Windows store, not a file path. Importing a renewed cert creates a new thumbprint, so existing bindings stay on the old one until rebound.

Check active bindings in PowerShell:

Import-Module WebAdministration
Get-ChildItem IIS:\SslBindings | Select-Object IPAddress, Port, Host, Thumbprint

netsh http show sslcert shows the same value as Certificate Hash. Rebind any site still on the old thumbprint. See the IIS integration page for how CertKit automates import and rebinding.

Exchange still uses the old certificate

Installing a renewed cert in Exchange doesn’t activate it for SMTP, IMAP, or OWA until you assign services with Enable-ExchangeCertificate:

Get-ExchangeCertificate | Format-List Thumbprint, Services, NotAfter

Also watch for Send and Receive connectors using TlsCertificateName (including Hybrid Configuration Wizard connectors). They match by issuer and subject. If the CA changed intermediates at renewal, OWA switches over while port 25 keeps serving the old cert. Test SMTP directly:

openssl s_client -connect mail.example.com:25 -starttls smtp -servername mail.example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -enddate -fingerprint -sha256

Receive connectors are per server, so check every transport server. See the Exchange deployment guide for details.

Java applications still serve the old certificate

Tomcat, Jetty, and Spring Boot load their .jks or .p12 keystore at startup. Replacing the file does nothing until a restart unless hot reloading is configured (Tomcat reloadSslHostConfigs or Spring Boot SSL bundles with reload-on-update).

One server behind the load balancer is still on the old certificate

If you see the new cert while a coworker sees an expiry warning, one backend node missed the update. Checking the public hostname only tests whichever node answered. Test each backend IP with the same SNI hostname:

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

Repeat for every node. For ongoing checks, monitor each backend by IP with the site’s TLS server name.

The CDN or load balancer has its own certificate

If TLS terminates at a CDN or cloud load balancer, browsers see the edge cert, not your origin server’s cert. Updating one doesn’t update the other. Test both, including connecting directly to the origin IP with the hostname as SNI.

Catching missed renewals automatically

With 47-day certificate lifetimes coming, checking endpoints by hand roughly twelve times a year doesn’t scale. Monitoring that knows which cert should be live catches misses automatically.

Because CertKit issues and deploys the certificate, it knows the exact serial number and thumbprint to expect. Right after each deployment, linked monitored hosts connect and verify the live cert, flagging an unreloaded nginx server, stale IIS binding, or Exchange port 25 mismatch within minutes.