Learn/Website

SSL/TLS certificates: expiry, renewal, and errors

What a website certificate does, how to keep it renewing as lifetimes shrink to 47 days, and how to fix each certificate error.

Want this checked on your own domain?

Join the waitlist

Updated

Message for whoever manages your website

Hi, could you check our website’s HTTPS certificate? Please confirm that it renews automatically and that someone is alerted if a renewal fails, that it covers both our bare domain and the www address, that the server sends the full certificate chain, and that the server accepts only TLS 1.2 and TLS 1.3. Certificate lifetimes are getting shorter (200 days now, 100 days from March 2027, 47 days from March 2029), so manual renewal won’t keep up. Thank you.

Want this checked on your own domain? Join the waitlist.

Check yours

Run the SSL certificate checker (join the waitlist for access) on your domain. It shows when the certificate expires, which names it covers, who issued it, whether the chain is complete, and whether the server still accepts TLS 1.0 or 1.1.

Fix it

Fix a certificate where it is served. If a CDN or proxy sits in front of your site, visitors get the certificate it presents, so start there. Otherwise it’s your web host or your own server. After each change, run the SSL certificate checker again.

On your own server, an ACME client gets and renews certificates for you. ACME (RFC 8555) is the protocol certificate authorities use to automate issuance. The examples below use Certbot, a widely used ACME client; other clients have equivalent commands.

The certificate has expired

Every certificate has a last valid date (“not after”). Once it passes, browsers reject the certificate (RFC 5280 §6.1.3) and show a full-page warning instead of your site.

  1. Renew now. At a host or CDN, open the SSL/TLS or certificate settings and renew or reissue. On your own server, run certbot renew, then make sure the web server has loaded the new certificate (a reload or restart).
  2. Find out why automatic renewal stopped, or it will happen again. Common causes:
    • CAA records that don’t list your certificate authority, so it refuses to issue. See CAA records.
    • Domain validation can’t complete. The domain may now point to a different server than the one running the renewal, or port 80 may be closed: Let’s Encrypt’s HTTP-01 check uses port 80 only.
    • Broken DNSSEC. Since March 15, 2026, certificate authorities must refuse to issue when DNSSEC validation fails (Baseline Requirements §4.2.2.2.5). See DNSSEC.
    • Nobody noticed. Let’s Encrypt stopped sending expiry reminder emails on June 4, 2025.

Check: the SSL certificate checker shows the new expiry date.

The certificate expires within a week

Less than a quarter of the certificate’s lifetime remains, and at most seven days (for a six-day certificate, about 40 hours). Automatic renewal normally happens much earlier: Certbot 4.0 and later renews when less than a third of the lifetime remains, and Let’s Encrypt recommends renewing about two-thirds of the way through. A certificate this close to expiry usually means renewal is failing.

  1. Renew now, as described above.
  2. Fix the cause (see the list under expired).
  3. Test the renewal job. With Certbot, certbot renew --dry-run runs a renewal against the Let’s Encrypt staging environment without saving a certificate.

Check: the checker shows the new expiry date, and the next renewal happens on schedule.

The certificate hasn’t been replaced yet

We flag this when less than a sixth of the certificate’s total lifetime remains, or less than a third of it and at most 14 days, whichever is longer. For a 90-day certificate that is 15 days before expiry, well past the point where automatic renewal should have run. The thresholds scale with the lifetime so that short-lived certificates, such as Let’s Encrypt’s six-day ones, aren’t flagged all the time. Nothing is broken yet. Either renewal has been failing, or a new certificate was issued but not installed. When the same certificate serves both your addresses, the report lists it once.

  1. If a new certificate has already been issued, install it on every server or service that uses the old one.
  2. Otherwise, find what issues the certificate: your host, your CDN, or an ACME client on your server.
  3. Look at its renewal logs or status page for errors. The usual causes are listed under expired.
  4. If you run your own ACME client, make sure it renews based on the certificate’s lifetime, not a fixed number of days. Let’s Encrypt’s certificates are getting shorter (see lifetimes), and it warns that renewing at a hard-coded 60 days will no longer work. Clients that support ACME Renewal Information (ARI, RFC 9773) ask the certificate authority when to renew.

Check: after renewal, the checker shows a later expiry date and this finding is gone.

The certificate doesn’t cover this address

A certificate lists the exact names it is valid for, in its Subject Alternative Name list. Browsers compare the address being visited with that list and warn when it isn’t there (RFC 9525 §6.3). Common causes:

  • The certificate covers example.com but not www.example.com, or the reverse. If both addresses lead to your site, both must be listed.
  • A wildcard certificate for *.example.com covers one level of subdomain, such as www.example.com, but not example.com itself.
  • The server sends a default certificate, often with your host’s own name, because this address isn’t set up on that server or CDN.

To fix it:

  1. At your host or CDN, add the missing address to the site (often called adding a domain or alias) and reissue the certificate so it lists both names.
  2. With Certbot, add the name to the existing certificate: certbot --expand -d example.com -d www.example.com.

Check: the checker no longer reports a mismatch for either address.

The certificate isn’t trusted

The certificate doesn’t lead back to a root certificate that browsers trust, so they show a warning. The report shows the reason we saw. Common ones:

  • Self-signed: the certificate vouches for itself. That’s acceptable for testing, never for a public site.
  • Private certificate authority: issued by a CA your organization or a device runs, which browsers don’t know.
  • Test certificate: for example, one from the Let’s Encrypt staging environment, whose roots aren’t in browser trust stores. Their issuer names start with “(STAGING)”.

To fix it, replace the certificate with one from a publicly trusted certificate authority. If your host or CDN offers certificates, turn that on. On your own server, use an ACME client. With Certbot, a certificate obtained with --test-cert comes from staging; request it again without that option.

Check: the checker shows the certificate as valid and names a public issuer.

The certificate is missing its chain

Your certificate is signed by an intermediate certificate, which is signed by a root that browsers trust. The server must send the intermediate along with your certificate; only the root may be left out (RFC 8446 §4.4.2). Browsers often keep intermediates they’ve seen before, so the site can look fine in yours while clients without that copy fail: apps, command-line tools, and other servers that connect to your site.

Install the full chain, your certificate first and then the intermediates:

  • nginx: concatenate your certificate and the CA’s bundle into one file (cat example.com.crt bundle.crt > example.com.chained.crt) and point ssl_certificate at it. With Certbot, use fullchain.pem.
  • Apache 2.4.8 or later: put the intermediates in the SSLCertificateFile file after your certificate, sorted from leaf to root. Certbot’s fullchain.pem is in that form. (SSLCertificateChainFile is obsolete.)
  • Host or CDN upload form: include the intermediate certificates your CA provided, not just your own certificate.

Check: the checker no longer reports a missing chain. Or run the command under checking by hand: -showcerts should list at least two certificates.

The certificate uses a weak key

The certificate’s RSA key is shorter than 2048 bits. Public certificate authorities may only issue RSA keys of at least 2048 bits (Baseline Requirements §6.1.5), so this usually appears together with an untrusted certificate, such as an old self-signed one.

Reissue the certificate with a new key: RSA 2048 or longer, or ECDSA on the P-256 or P-384 curve. Certbot has created ECDSA P-256 keys by default since version 2.0.

Check: the weak-key finding is gone after the new certificate is installed.

Secure connections to the site fail

The server accepts a connection on port 443, the HTTPS port, but the TLS handshake (where browser and server agree on encryption and the server presents its certificate) doesn’t complete. Visitors see a connection error. Common causes:

  • No certificate is set up for this address on that server or CDN.
  • The server offers only TLS 1.0 or 1.1. Chrome, for example, has shown an error that can’t be clicked through for such sites since version 98.
  • Something other than HTTPS answers on port 443.

Ask your host to check the site’s SSL/TLS settings for this address. On your own server, check the web server’s error log and the certificate settings for this address.

Check: the checker shows a certificate for the address instead of this error.

Retired TLS versions still accepted

The server still completes connections using TLS 1.0 or 1.1. The IETF retired both: “TLS 1.0 MUST NOT be used” and “TLS 1.1 MUST NOT be used” (RFC 8996 §4 and §5). The PCI Security Standards Council doesn’t consider them strong cryptography, which matters if you take card payments (FAQ 1491). Browsers that support TLS 1.2 or 1.3 use those, so turning the old versions off only affects clients that can’t.

Set the minimum version to TLS 1.2:

  • Cloudflare: on the Edge Certificates page, set Minimum TLS Version to TLS 1.2.
  • nginx: ssl_protocols TLSv1.2 TLSv1.3;. Set it in the default server (or the http block): for name-based servers, nginx may use the default server’s value.
  • Apache: SSLProtocol -all +TLSv1.2 +TLSv1.3. Set it globally or in the first virtual host; older Apache versions apply the base virtual host’s setting to all name-based hosts.
  • Other hosts: look for a “minimum TLS version” setting, or ask support.

Check: run the checker again, or test by hand as shown in checking by hand.

TLS 1.3 isn’t offered

This is a suggestion, not a problem. The site uses TLS 1.2, which is secure when configured to current recommendations (RFC 9325 §3.1.1). The same recommendations say servers should support TLS 1.3 and prefer it when they do. TLS 1.3 removes legacy algorithms, always uses forward secrecy, and encrypts more of the handshake (RFC 8446 §1.2).

  • Cloudflare: on the Edge Certificates page, switch TLS 1.3 on.
  • nginx: include TLSv1.3 in ssl_protocols (the default since nginx 1.23.4; it needs OpenSSL 1.1.1 or later).
  • Apache: include +TLSv1.3 in SSLProtocol (it needs OpenSSL 1.1.1 or later).

Check: the checker no longer shows this suggestion.

Technical reference

Lifetimes and validation

The CA/Browser Forum’s Baseline Requirements set the maximum validity of publicly trusted TLS certificates (§6.3.2), adopted in ballot SC-081v3 (April 2025). Validity counts from notBefore through notAfter, inclusive (§1.6.1).

Certificates issuedShould not exceedMust not exceedDomain validation reusable for (§4.2.1)
Before March 15, 2026397 days398 days398 days
March 15, 2026 to March 14, 2027199 days200 days200 days
March 15, 2027 to March 14, 202999 days100 days100 days
From March 15, 202946 days47 days10 days

The last column is how long a CA may rely on an earlier proof that you control the domain. From 2029 that is 10 days, shorter than the time between renewals, so in practice each renewal needs a fresh proof and validation has to be automated too.

Let’s Encrypt issues 90-day certificates by default, and subscribers can opt in to 45-day certificates with its tlsserver profile. From February 10, 2027 its default is 64-day certificates, and from February 16, 2028, 45-day certificates.

Renewal timing

  • ACME (RFC 8555) lets a client request certificates without manual steps, so renewal can run on a schedule. Certbot 4.0 and later renews when less than a third of the lifetime remains (half, for certificates of 10 days or less).
  • Let’s Encrypt recommends renewing about two-thirds of the way through a certificate’s lifetime, or using ARI (RFC 9773), where the CA suggests a renewal window.
  • Let’s Encrypt ended expiry reminder emails on June 4, 2025, so expiry monitoring has to come from somewhere else.

Names

  • Publicly trusted certificates must carry the Subject Alternative Name extension with at least one name (Baseline Requirements §7.1.2.7.12).
  • Clients must not use the Common Name to identify a service (RFC 9525 §2).
  • A wildcard matches exactly one label, and only as the whole leftmost label (RFC 9525 §6.3). *.example.com matches www.example.com but not example.com or a.b.example.com.

Chains

The server’s certificate comes first; each following certificate should certify the one before it; a trust anchor may be omitted (RFC 8446 §4.4.2). Missing intermediates break clients that don’t already hold a copy.

Keys

RSA moduli must be at least 2048 bits and divisible by 8; ECDSA keys must be on P-256, P-384, or P-521 (Baseline Requirements §6.1.5).

What can block issuance

  • CAA: a CA must check CAA records for every name in the certificate and refuse if they don’t allow it (Baseline Requirements §4.2.2.1, RFC 8659). See CAA records.
  • DNSSEC: since March 15, 2026, CAs must validate DNSSEC on domain-validation and CAA lookups, and must not treat a validation error (such as SERVFAIL) as permission to issue (§4.2.2.2). See DNSSEC.

Protocol versions

  • TLS 1.0 and 1.1 are deprecated and “MUST NOT be used” (RFC 8996, part of BCP 195).
  • Implementations must support TLS 1.2 and should support TLS 1.3, preferring it when available (RFC 9325 §3.1.1).
  • PCI SSC: “early TLS” includes, at a minimum, TLS 1.0 and 1.1, and is not strong cryptography (FAQ 1491).
  • Chrome showed a full-page warning for sites without TLS 1.2 or newer from Chrome 84, and made it impossible to click through from Chrome 98 (Chrome Platform Status).

Checking by hand

These commands use OpenSSL 3; replace example.com with your address.

The certificate’s dates, issuer, and names:

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -dates -issuer -ext subjectAltName

Every certificate the server sends, in order (the chain):

openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null

Whether the server accepts TLS 1.1 (use -tls1 instead of -tls1_1 for TLS 1.0):

openssl s_client -connect example.com:443 -servername example.com -tls1_1 -cipher 'DEFAULT:@SECLEVEL=0' </dev/null

OpenSSL 3 refuses TLS 1.0 and 1.1 at its default security level, so the last command lowers it with @SECLEVEL=0; without that, every server would appear to refuse the old versions. A completed handshake (a certificate and a negotiated protocol in the output) means the version is accepted.

What the report checks

For the bare domain and the www address, whichever respond, we connect on port 443 with the name in the request (SNI) and verify the certificate chain against a standard set of trusted roots.

FindingCondition
ExpirednotAfter has passed, or verification reports the certificate expired
Doesn’t cover this addressVerification reports a name mismatch, or the address isn’t among the certificate’s subject alternative names (wildcards per RFC 9525; the common name isn’t used)
Missing its chainThe issuer couldn’t be found, the server sent only one certificate, and that certificate isn’t self-issued
Isn’t trustedAny other verification failure; we show the reason
Expires within a weekFewer days remain than a quarter of the lifetime, capped at 7
Hasn’t been replaced yetFewer than max(lifetime ÷ 6, min(14, lifetime ÷ 3)) days remain; reported once per certificate
Weak keyRSA key shorter than 2048 bits
Secure connections failThe TLS handshake fails for a reason other than certificate verification

For TLS versions, we take the host that serves your secure homepage and make two extra connections, one offering only TLS 1.0 and one offering only TLS 1.1, with the security level lowered so they can be negotiated. TLS 1.3 support is read from the version negotiated when we load the homepage. We don’t test revocation, cipher suites, or other ports and subdomains.

Sources

Want this checked on your own domain?

Join the waitlist
Domain Readiness

Free checks for email, website, DNS, and registration, with plain-English fixes.

Domain Readiness™ (domainreadiness.com) is a service of Riviera Learning, LLC.