Skip to content

Domain, hosting, code and data — in your name, in writing

jagaweb
Security & Compliance

SSL Certificate Expired? How to Fix "Not Secure" Fast

•3 min read•By Chandra Rau

Seeing "Your connection is not private"? Fix an expired SSL certificate on cPanel, Cloudflare or a VPS, and automate renewals.

Short answer: if visitors see "Your connection is not private" (NET::ERR_CERT_DATE_INVALID), your SSL/TLS certificate has expired, or the server is presenting the wrong certificate. Reissue it where it is managed: AutoSSL or Let's Encrypt in cPanel or Plesk, your Cloudflare dashboard if Cloudflare sits in front of the site, or certbot on a VPS. Then find out why the automatic renewal failed, because it will fail again. Certificate lifetimes are getting shorter: the CA/Browser Forum's Ballot SC-081 reduces the maximum from 398 days, starting March 2026, down to 47 days by March 2029 (CA/B Forum).

Step 1: Confirm what's actually wrong

Click the warning in Chrome and open the certificate details:

  • Expired (the "valid to" date has passed): renew it (Step 2).
  • Wrong name (the certificate is for another domain, or covers www but not the bare domain): reissue it for every hostname you use.
  • Valid, but the browser still complains: the server may be sending an incomplete chain, or an old certificate is cached on a CDN or load balancer.

Step 2: Renew it where it lives

cPanel / Plesk (shared hosting). Run AutoSSL (cPanel) or reissue the Let's Encrypt certificate (Plesk). AutoSSL commonly fails when the domain's DNS no longer points to that server, for example after you added Cloudflare or moved part of the DNS, because the certificate authority can't verify control of the domain.

Cloudflare in front of the site. There are two certificates: Cloudflare's edge certificate (what visitors see) and the origin certificate on your server. An expired origin certificate with SSL mode set to Full (strict) produces Cloudflare 526 errors (Cloudflare 5xx guide). Renew the origin certificate, or install a Cloudflare Origin CA certificate. See our Cloudflare setup notes.

VPS with Let's Encrypt. Let's Encrypt's default certificates last 90 days, and it recommends renewing every 60 days (Let's Encrypt FAQ). Run your ACME client's renewal (for example certbot renew), check the scheduled task or timer that should run it, and reload the web server.

Paid certificate from a reseller. Generate a new CSR, reissue the certificate, and install it with the full chain (intermediates included).

Step 3: Fix the padlock that still won't go green

If the certificate is valid but the padlock shows a warning, the page is loading some images, scripts or fonts over http://. This is called mixed content. In WordPress, update the site URLs to https://, run a careful search-and-replace on the database (on a backup first), and fix hard-coded http:// links in the theme.

Step 4: Stop it happening again

  • Automate renewals, and check that the automation actually runs. A renewal that silently stopped is the most common cause of an expired certificate.
  • Monitor expiry from outside the server, with an alert at least two weeks before.
  • Keep DNS and hosting in agreement. Moving DNS without updating how certificates are validated is the classic way AutoSSL breaks.
  • With lifetimes falling toward 47 days, manual renewal is no longer realistic for anyone.

If the domain itself expired, the SSL warning is the smaller problem. See .my domain expired?. For the basics of certificates, read SSL/TLS certificates explained.

Check your SSL now: get my free website check. It reads your certificate, DNS and security headers, and you don't need an account. JagaWeb's care plans, from RM249 a month before SST, include SSL renewal monitoring and expiry alerts. See website maintenance.

FAQ

Does an expired SSL certificate take my site down? Technically the site still loads, but browsers show a full-page warning and most visitors leave. Forms and checkouts on the page are effectively dead until it's fixed.

Why did my free SSL stop renewing? Usually because the domain's DNS changed (a new host, or Cloudflare added), so the certificate authority could no longer validate the domain, or because the renewal job stopped running.

How long do SSL certificates last now? Under CA/Browser Forum Ballot SC-081, maximum lifetimes are being cut in steps from March 2026, down to 47 days by March 2029. Let's Encrypt certificates are 90 days by default.

If you suspect an active compromise, see hacked website repair in Malaysia.

PROTECT YOUR ASSETS

Ready to verify who owns your website?

Replace uncertainty with a decision-ready ownership and access report. The fixed Ownership & Access Review is RM1,500 before SST and includes a 30-day action plan.

WhatsApp
WhatsAppFree website check