← Guides

How to fix an expiring or expired SSL certificate

An expired certificate makes browsers show a full-page warning, and most visitors leave. Almost every expiry is a renewal that was manual, or an automatic one that quietly stopped working. The fix is to renew now and then make sure renewal can't be forgotten.

Updated 2026-10-23

Why it matters

  • A certificate that is only a few weeks from expiry is a warning, not yet an outage. Fixing it now costs minutes; fixing it after expiry costs customers.
  • Free certificates from Let's Encrypt last 90 days by design, which is why renewal has to be automatic.

How to fix it

  1. Issue a new certificate and make sure it renews by itself (certbot installs a timer). A certificate you have to remember to renew will expire again.

After you deploy, re-check the site. A CDN or the browser cache can keep serving the old headers for a few minutes.

Let's Encrypt with certbot (nginx example; use --apache for Apache)
sudo certbot --nginx -d example.com --key-type ecdsa
sudo certbot renew --dry-run

Common mistakes

  • Renewing by hand and putting a reminder in a calendar. Reminders get missed; use automatic renewal.
  • Assuming automatic renewal works without checking. Run the dry run (certbot renew --dry-run) and watch for errors, or monitor the certificate's expiry.
  • Renewing the certificate but not restarting or reloading the server, so it keeps serving the old one.
  • Forgetting a second place the certificate is used, such as a mail server, a load balancer or an old subdomain.

Check that it worked

Run your domain through the free ssl certificate checker. It takes a few seconds, needs no account, and shows anything still missing.

Open the ssl certificate checker

Questions

How can I find out before it expires next time?
Monitor it. Upzy checks your certificate every day and alerts you well before it lapses, and the free SSL checker shows the expiry date on demand.
Does my host handle this?
Vercel, Netlify, Cloudflare, CloudFront and GitHub Pages issue and renew certificates for you. If you see a warning there, the domain is usually not attached to the project, or its DNS points somewhere else.

Don't want to check by hand? Upzy watches your site around the clock and tells you when a header, certificate or email record slips. Start free.