Certificate renewal · Practical guide
How to check SSL certificate expiry and renewal
Enter the public hostname below to check the certificate served now, its UTC expiry and the verification result. A local certificate file only shows what is on disk. A renewal job can succeed while visitors still receive the old certificate. Check the public hostname, identify where TLS terminates and compare the actual certificate with the one intended for that endpoint. Treat issuance, deployment and a verified public connection as separate checks.
Compare the deployed certificate with the renewed file
Suppose renewal succeeded but the public scan still shows an approaching expiry. Download the server certificate PEM from that CheckSSL report as served-leaf.pem and locate the renewed leaf certificate as renewed-leaf.pem. Use certificate files, not private keys, and compare certificates intended for the same TLS endpoint and certificate type.
These OpenSSL 3 commands show the dates, issuer, serial and SHA-256 fingerprint. Compare the fingerprint ignoring colons and letter case; compare serials together with the issuer. A matching fingerprint identifies the same certificate. Different fingerprints need investigation, but can be legitimate when a listener offers separate RSA and ECDSA certificates.
openssl x509 -in served-leaf.pem -noout -issuer -dates -serial -fingerprint -sha256
openssl x509 -in renewed-leaf.pem -noout -issuer -dates -serial -fingerprint -sha256 - Identify whether the public certificate belongs to a CDN, load balancer or origin, and select the corresponding renewed file.
- If that endpoint still serves the old certificate, correct its certificate assignment or deployment and reload through the supported process.
- Create a fresh public scan, download its leaf certificate and repeat the comparison alongside trust and hostname checks.
Reference: OpenSSL 3: certificate dates, serials and fingerprints
Read the validity window in context
notBefore is the start of validity; notAfter is its end. CheckSSL evaluates both against the scan time and displays UTC timestamps. Days remaining is rounded down, so zero days can still mean several hours. Read the exact expiry and report timestamp before deciding whether the certificate has expired.
CheckSSL warns when expiry is within 30 days. That threshold does not prove renewal failure: short-lived certificates can normally remain inside it. Use the actual lifetime and the issuer or renewal client’s schedule instead of assuming every certificate lasts 90 days. An expired or not-yet-valid certificate is a different finding.
The command below checks a local certificate against a 30-day window. On a readable certificate, zero exit status means it does not expire within that window. For a nonzero result, read the message: an expiry result and a file-reading error require different responses. This does not verify the chain, hostname or deployment.
openssl x509 -in served-leaf.pem -noout -checkend 2592000 Reference: OpenSSL 3: expiry-window checks
Treat renewal and deployment as separate checks
First inspect the renewal result: did validation complete and did the client obtain a new certificate for the required names? Read the actual error before retrying issuance. Then inspect deployment: did the correct listener load that certificate and its accompanying chain? A successful issuance log answers only the first question.
Use the renewal client’s supported automation and deployment hooks. For Let’s Encrypt integrations, ACME Renewal Information can guide renewal timing. Keep the deployment step automatic where possible; a new file waiting for someone to reload the service leaves the public certificate unchanged.
For Nginx, check the selected server’s ssl_certificate assignment, test the configuration with nginx -t and use your normal reload procedure. Check that the reload succeeded. With managed hosting, confirm the certificate is assigned and active on the correct service. An edge certificate and an origin certificate are separate deployments.
Reference: Let’s Encrypt: renewal integration guidance
Investigate an old certificate after renewal
Check DNS, the selected virtual host and every configured TLS termination point. A stale load-balancer node or an unchanged IPv6 listener can explain inconsistent results. The public scan observes the address it reached; it does not inventory every server behind the hostname. Keep the observed IP and time with each comparison.
For an independent inspection, replace example.com in all three positions below. Confirm openssl version reports OpenSSL 3; some systems provide a different implementation under that name. The command sends SNI and enables hostname and certificate verification. Read the verification result, then press Ctrl+C after the handshake output; stop an unresponsive attempt as inconclusive.
The displayed certificate list contains what the server sent, not a separately proven chain for every client. If verification fails, investigate the trust, name or date error. Certificate details obtained diagnostically by CheckSSL remain untrusted observations; visible dates do not turn a failed verification into a pass.
openssl s_client -connect example.com:443 -servername example.com \
-verify_hostname example.com -verify_return_error -showcerts Reference: OpenSSL 3: verified server-certificate inspection
Finish with a fresh public verification
Keep a short record of the hostname, endpoint owner, expected fingerprint and observed validity window. Use a new scan after deployment: an existing shared report is a snapshot of its original connection. CheckSSL does not renew certificates or send expiry alerts.
- Check each public name visitors use, including www and HTTPS aliases that redirect elsewhere.
- Confirm the expected leaf certificate is served, with appropriate dates and a verified hostname and chain.
- Check other published endpoints when deployment is distributed, and test the normal browser connection.
- Resolve any renewal or deployment error and record who owns the working automation.
Reference: Nginx: applying and verifying configuration reloads
Keep reading
Related guides
How to troubleshoot an SSL certificate name mismatch
Compare certificate SANs, www and wildcard coverage, then check DNS and SNI to find the endpoint serving the wrong certificate.
Read guide Certificate trustSSL certificate chain errors: what to investigate
Inspect the served chain, verify public certificates against trusted roots and fix deployment errors without weakening certificate checks.
Read guide TLS versionsHow to check supported TLS versions
Interpret CheckSSL protocol probes, test TLS 1.2 and TLS 1.3 with OpenSSL 3, and distinguish server rejection from an inconclusive client failure.
Read guide CDN certificatesHow to check SSL certificates behind a CDN
Separate edge and origin TLS checks, target an origin with the correct hostname and trust store, and verify certificate fixes behind a CDN.
Read guide Certificate issuanceCAA records and certificate issuance: how to fix errors
Find the relevant CAA policy, distinguish DNS failures from missing records and authorize the intended certificate provider without breaking renewal.
Read guideTLS certificate reference: trust, names, expiry and protocol checks
Interpret certificate and TLS findings, including unknown verification, received chains, revocation and protocol probes.
Open reference