Your connection is not private: an expired SSL certificate

PlatformAny website Doing it yourself10 to 30 minutes, once you can reach your host or DNS Checked

Written and checked by Sajid, Founder & Web Engineer

The short answer

Your SSL certificate expired. Certificates are only valid for a fixed period, and when one lapses every browser shows a full-page security warning before the site will load, so almost everyone turns back. Nothing was hacked and no content is lost. Renewing or reissuing the certificate, which is usually free and often automatic, clears it within minutes.

Is this your problem?

  • A full red warning: "Your connection is not private" or "Your connection is not secure"
  • An error code: NET::ERR_CERT_DATE_INVALID in Chrome and Edge, SEC_ERROR_EXPIRED_CERTIFICATE in Firefox, or "this certificate has expired" in Safari
  • The padlock in the address bar is crossed out or red
  • It started on one particular day with no change on your side
  • Clicking Advanced and then proceeding loads the site, so the content is clearly fine

What usually causes it

1
The certificate reached its expiry date

How to tell: Most certificates last 90 days (Let's Encrypt) or a year. If nothing renewed it, it lapsed.

2
Auto-renewal was set up but stopped working

How to tell: The host or plugin that renews it broke, lost access, or the domain moved so the renewal could no longer validate.

3
The site moved host and the certificate did not move with it

How to tell: A new server has no certificate until one is issued for it.

4
The certificate covers the wrong name

How to tell: It was issued for example.com but the site is served on www.example.com, or the other way round, so the browser rejects it.

5
A free certificate could not validate the domain

How to tell: The DNS record points elsewhere, or a redirect blocks the validation check, so the new certificate never issued.

Before you touch anything

  • Note the exact error code, and whether it happens on both example.com and www.example.com.
  • Find out who issues your certificate: the host panel (cPanel, Plesk), a plugin, Cloudflare, or a separate SSL provider. That is where you renew it.

How to fix it, step by step

  1. 1

    Confirm it is really expired

    Click the warning, then Advanced, and the browser shows the expiry date. You can also open any SSL checker and enter your domain. If the valid-until date is in the past, this is the whole problem.

  2. 2

    If your host issues it, the common case

    Open the host panel and find SSL/TLS or Security. Most hosts offer free AutoSSL or Let's Encrypt: click to issue or renew, and it reinstalls within a few minutes. If there is a Run AutoSSL button, use it.

  3. 3

    If Let's Encrypt renewal failed

    These certificates renew automatically every 90 days through a job on the server. If it stopped, re-run the issue step in the panel. If it keeps failing, the usual cause is the domain no longer pointing at this server, or a redirect on the /.well-known/acme-challenge/ path blocking validation.

  4. 4

    If Cloudflare is in front of the site

    Cloudflare serves its own edge certificate to visitors, which does not lapse on you. If you still see the error, open SSL/TLS in Cloudflare: Universal SSL should be on, and the mode set to Full (strict), which needs a valid certificate on your own server too.

  5. 5

    Make sure it covers both www and non-www

    The certificate must list example.com and www.example.com. Most free certificates add both automatically. If yours covers only one, reissue it covering both, or make sure the missing version redirects to the covered one.

  6. 6

    Clear the browser and recheck

    Browsers hold the old certificate firmly. Load the site in a private window, or on another device. If it is green there it is fixed, and your own browser just needs a moment.

Stop and get help if

  • You cannot reach the host panel or do not know who issues the certificate, and the site is taking orders or bookings while it is down.
  • Renewal keeps failing with a validation error, which usually means a DNS or redirect problem underneath that has to be sorted first.
  • The warning names a site that is not yours, which can mean the domain is pointing at the wrong server.
Fix it for me

Stop it happening again

  • Use a certificate that auto-renews (Let's Encrypt or host AutoSSL), and confirm once that the renewal actually ran.
  • Put the site behind Cloudflare, whose edge certificate does not lapse on you.
  • Set a calendar reminder two weeks before any paid certificate expiry date.
  • Monitor the certificate: a free uptime monitor can email you weeks before it expires.

Questions people ask

Is my site hacked?

No. An expired certificate is a date problem, not a break-in. Your pages and data are untouched.

Is it safe for visitors to click proceed anyway?

The content is yours and safe, but you cannot ask customers to click past a red warning, and most never will. Treat it as urgent.

How long until it works after I renew?

Usually a few minutes. Your own browser may hold the old one longer, so check on another device or in a private window.

Does a new certificate cost money?

Usually not. Let's Encrypt, and the AutoSSL most hosts include, are free and the normal choice for a business site.

Not sure where your site stands?

Paste the address. Security, speed, SEO and how old the tech is, in about ten seconds.

Still broken? We can fix it.