SSL Certificate Expired Error

Category: Security & SSL ยท Updated 2026-11-03

The "SSL certificate expired" error appears when a website's TLS certificate has passed its validity end date, so browsers refuse to treat the connection as secure and show a warning instead of loading the page. The fix is to renew the certificate, which is usually free and automatic with Let's Encrypt, or to check why automatic renewal failed if it normally runs on its own.

Why certificates expire at all

Every TLS certificate is issued with a fixed validity period rather than lasting forever. This limits how long a stolen or misissued certificate could be misused, and it forces periodic revalidation that the domain is still controlled by the same party. Certificates from Let's Encrypt last 90 days and are meant to renew automatically well before that. Certificates from traditional paid certificate authorities typically last up to about a year, following industry-wide limits that have shortened over time.

What visitors and browsers see

  • Chrome and Edge show "Your connection is not private" with the error code NET::ERR_CERT_DATE_INVALID.
  • Firefox shows "Warning: Potential Security Risk Ahead" referencing SEC_ERROR_EXPIRED_CERTIFICATE.
  • Safari shows "This Connection Is Not Private" with a note that the certificate has expired.
  • Automated tools, API calls and payment gateways may simply fail the connection with a TLS handshake error instead of showing a readable page.

Common reasons renewal failed

CauseTypical fix
Automatic renewal cron job stopped runningCheck the renewal service status and logs on the server
DNS changed and domain validation failed silentlyPoint DNS correctly and manually trigger renewal
Rate limits hit after too many renewal attemptsWait out the limit window or fix the underlying error first
Manually issued paid certificate past its termRepurchase or reissue and reinstall the certificate
Certificate installed but the renewed one never swapped inReload or restart the web server after renewal

How to fix it

  1. Check the expiration date directly in the browser by clicking the padlock or lock icon, or from a terminal:
echo | openssl s_client -connect example.com:443 2>/dev/null | openssl x509 -noout -dates
  1. On most hosting control panels, go to the SSL/TLS section and click to reissue or renew the certificate; many hosts automate this entirely with Let's Encrypt.
  2. On a server managed with Certbot, run:
sudo certbot renew --dry-run
sudo certbot renew
  1. Restart or reload the web server (Apache, Nginx or LiteSpeed) after renewal so it picks up the new certificate file.
  2. Set a monitoring alert for certificate expiration a few weeks in advance so it does not happen again unnoticed.

Preventing it from happening again

Use a certificate authority and hosting setup that renews automatically, confirm the renewal mechanism (cron job, systemd timer, or host-side automation) is actually running rather than assuming it is, and add an external uptime or certificate-expiration monitor that emails you if the expiration date drops below a set number of days. Avoid certificates that require fully manual renewal unless there is a clear reason for one.

Frequently asked questions

Why does my website say the SSL certificate has expired?

It means the certificate's validity end date has passed, usually because an automatic renewal process failed silently or because a manually installed certificate was never renewed in time.

How do I fix an expired SSL certificate?

Renew it through your hosting control panel's SSL section, or manually with a tool like Certbot if you manage the server yourself, then restart or reload the web server so the new certificate takes effect.

Does an expired SSL certificate take my whole site down?

Browsers will block or heavily warn visitors away from the site, and automated systems such as APIs or payment integrations may fail outright, so in practice the site becomes unusable for most visitors even though the server itself is still running.

How long do SSL certificates usually last before expiring?

Free certificates from Let's Encrypt last 90 days and renew automatically in most setups. Paid certificates from other certificate authorities typically last up to about a year, following current industry maximum validity periods.

Can an expired certificate renew itself automatically?

Yes, if the automation is configured and working, such as Certbot's renewal timer or a host's built-in Let's Encrypt integration. If renewal already failed once, check logs to find out why before assuming it will fix itself.

Will I lose my SSL certificate's history or settings when I renew?

No. Renewing issues a new certificate for the same domain with a new expiration date; it does not change your site's configuration, and the renewed certificate is simply installed in place of the expired one.

Related topics