Skip to content

SSL Certificate Expired

Your site’s certificate has passed its end date. Every visitor’s browser now shows a warning page instead of your site, and DownBad’s checks fail the same way. This page finds out why it wasn’t renewed, gets a current one in place, and closes the incident.

Every site whose address starts with https:// sends a certificate, a small file that proves the site is the one it claims to be. A certificate authority (a company such as Let’s Encrypt or DigiCert that issues certificates) signs it, and writes into it the two dates between which it is valid. Once the second date has passed, the certificate has expired, and every program that checks certificates, DownBad included, rejects it.

An SSL monitor is DownBad’s check of a site’s certificate (SSL, Secure Sockets Layer, is the old name for the encryption behind https://), and a URL monitor checks that a web page loads (a URL is a web address). An incident is open for one of them, and it shows one of these reasons.

On an SSL monitor, with the failure type cert expired:

  • SSL certificate error: Operation failed after 4 attempts. Last error: certificate has expired. An SSL monitor tries again while its time allows, and the number of attempts can differ.
  • SSL certificate expired 32 day(s) ago (on Aug 30 00:00:00 2026 GMT), when the monitor’s Validate Certificate Chain setting is off, so it reads the certificate’s dates instead of rejecting it.

On a URL monitor, with the failure type tls (TLS, Transport Layer Security, is SSL’s current name):

  • SSL certificate error: certificate has expired

certificate has expired can also mean that your own certificate is current, but another certificate your server sends with it has expired: one of the certificates that link yours to the authority, which together with yours make up the chain. That case has its own cause below: A certificate in the chain has expired.

It is your server’s certificate. When your own certificate has expired, it has expired for every visitor at once, not only for DownBad, because its end date is written inside it. DownBad didn’t open this incident on one check, either: it checked again from up to three other places in the United States, and it opened the incident only when at least half of the places that answered failed too.

The one exception is a site served by more than one server, where one of them may still send the old certificate while the others send a new one. A load balancer (a service that shares visitors out between servers) or a CDN (a service such as Cloudflare that sits in front of your site) can also keep an old copy. Both are covered under A load balancer or CDN still sends the old certificate.

To see it without a terminal, enter your domain (your site’s name, such as example.com) in SSL Labs’ SSL Server Test, a free test from the company Qualys, and wait a minute or two for the report. In its certificate section, the Valid until line gives the end date, and ends with EXPIRED once it has passed.

This command asks your server for its certificate, the way DownBad’s check does, and prints the dates it is valid between and who issued it. Run it in a terminal (the window where you type commands: Terminal on a Mac, PowerShell on Windows). It only reads, and changes nothing. It uses openssl, a tool for working with certificates that comes with macOS.

Put the host the monitor checks in place of both example.coms: the Domain of an SSL monitor, or the name in the URL of a URL monitor. A URL monitor follows redirects (a page sending the visitor on to another address) unless its Follow Redirects setting is off, so check any host its page sends visitors on to as well. A server offers each service behind a numbered port, and secure web pages use 443: if your monitor checks another port, change 443 too. The examples below are what it printed for example.com, whose certificate is current, and expired.badssl.com, a test site whose certificate expired in 2015.

Terminal window
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -issuer
If it works
notBefore=Sep 26 22:49:11 2026 GMT
notAfter=Dec 25 22:56:35 2026 GMT
issuer= /C=US/O=SSL Corporation/CN=Cloudflare TLS Issuing ECC CA 3
If it has expired
notBefore=Apr 9 00:00:00 2015 GMT
notAfter=Apr 12 23:59:59 2015 GMT
issuer= /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA

How to read it:

  • notAfter is the end date, in GMT (Greenwich Mean Time, London’s time in winter). If it is in the past, the certificate has expired.
  • issuer names the authority that issued it. It helps tell the causes below apart: a Let’s Encrypt certificate is renewed automatically, by a tool on your server or by a service in front of it; one named after a service in front of your site, such as Cloudflare in the example, by that service; and one you bought, by you.
  • If issuer names your own site, the certificate is self-signed: it signed itself. A URL monitor, or an SSL monitor with Validate Certificate Chain on, rejects it even while it is current, so renewing it won’t close this incident. Replace it with one from an authority, or, on an SSL monitor, keep it and turn the setting off, as SSL Certificate Not Trusted explains.
  • If notAfter is in the future, your own certificate is current. It may have been renewed since DownBad’s last check: follow Confirm DownBad sees the fix. If the incident stays open, another server behind your name may still send the old certificate: see A load balancer or CDN still sends the old certificate. And if the reason says certificate has expired, another certificate in the chain may have expired: see A certificate in the chain has expired.

The causes below run from most to least likely, so start with the first.

Most steps happen on the server itself, so you need to log in to it: with SSH (a way to log in to a server and type commands on it from another computer), or through the console in your hosting provider’s dashboard (a terminal for the server that opens in your browser). A step that changes the server needs sudo, which runs a command as the server’s administrator and asks for your password. Each such step says so.

If someone else runs the server for you, such as a managed hosting company or a web agency, send them the reason the incident shows and a link to this page. The fix is theirs to make.

This is the likely cause when issuer in Check it yourself names Let’s Encrypt, a free authority whose certificates are valid for 90 days by default and renewed automatically, by a tool on your server or by a service in front of it. On a server, the usual tool is certbot. When it can’t renew, the certificate runs out. If a load balancer or CDN got the certificate for you, see A load balancer or CDN still sends the old certificate instead.

  1. See what certbot has on the server. This needs sudo:

    Terminal window
    sudo certbot certificates
    If it works
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Found the following certs:
    Certificate Name: example.com
    Serial Number: 36968024a7c746fc
    Key Type: ECDSA
    Domains: example.com
    Expiry Date: 2026-12-30 07:15:01+00:00 (VALID: 89 days)
    Certificate Path: /etc/letsencrypt/live/example.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/example.com/privkey.pem
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If it has expired
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Found the following certs:
    Certificate Name: example.com
    Serial Number: 63e0dfbedd335928b5d29a71b53c919d0c595f78
    Key Type: ECDSA
    Domains: example.com
    Expiry Date: 2026-08-30 00:00:00+00:00 (INVALID: EXPIRED)
    Certificate Path: /etc/letsencrypt/live/example.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/example.com/privkey.pem
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you left out sudo
    The following error was encountered:
    [Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'
    Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-4omtix4e/log or re-run Certbot with -v for more details.

    INVALID: EXPIRED means certbot never renewed it: carry on. If it says VALID with a future date while Check it yourself still shows the old one, certbot did renew it, and the server still sends the old one.

    If certbot isn’t installed, another tool got the certificate. Caddy (a web server that gets and renews its own certificates) keeps retrying a failed renewal, at least once a day for up to 30 days, as its guide describes, so it renews by itself once the cause in step 3 is fixed. A hosting control panel such as cPanel shows renewal problems on its SSL/TLS Status page, which can list the domains that Has AutoSSL Problems (AutoSSL is cPanel’s automatic certificates).

  2. Renew it now, and read why it failed before. This needs sudo:

    Terminal window
    sudo certbot renew
    If it works
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Processing /etc/letsencrypt/renewal/example.com.conf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Renewing an existing certificate for example.com
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Congratulations, all renewals succeeded:
    /etc/letsencrypt/live/example.com/fullchain.pem (success)
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If the authority can't reach your site
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Processing /etc/letsencrypt/renewal/example.com.conf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Renewing an existing certificate for example.com
    Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
    Domain: example.com
    Type: connection
    Detail: Get "http://example.com:80/.well-known/acme-challenge/zKpisk9ALbohsMyLXH8hVDYi6e4shGOMbqAUWeEfJAo": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
    Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
    Failed to renew certificate example.com with error: Some challenges have failed.
    All renewals failed. The following certificates could not be renewed:
    /etc/letsencrypt/live/example.com/fullchain.pem (failure)
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    1 renew failure(s), 0 parse failure(s)
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
    If you left out sudo
    The following error was encountered:
    [Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'
    Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-arf5_c0f/log or re-run Certbot with -v for more details.
  3. If it failed, the lines after Domain: say why. The failure above came from a test authority, so the words after Detail: will differ on your server. Before it renews, Let’s Encrypt checks that you still control the name. Its most common way, in its guide’s words, fetches a file from your site over plain HTTP (addresses starting http://) and “can only be done on port 80”. The usual reasons it fails:

    • Port 80 is blocked by a firewall (software that decides which connections get through). The example above timed out because a firewall rule dropped connections to port 80. Allow port 80 from anywhere, as Connection Timed Out shows for any port.
    • Your name points somewhere else, such as an old server, so the file isn’t found there. DNS (the Domain Name System, the internet’s address book) decides where it points, and Connection Timed Out shows how to check and correct it.
    • Anything else the Detail: line names: search for its words in Let’s Encrypt’s community forum, which certbot itself points to when a renewal fails.

    Fix the reason, then run step 2’s command again.

  4. Make sure certbot runs by itself from now on. Certbot’s guide says most installations come with a scheduled task that runs it: a timer or a cron job, two ways Linux runs commands on a schedule. This lists the timers, and needs no sudo:

    Terminal window
    systemctl list-timers '*certbot*'
    If it works
    NEXT LEFT LAST PASSED UNIT ACTIVATES
    Thu 2026-10-01 21:03:32 UTC 13h Thu 2026-10-01 07:14:08 UTC - certbot.timer certbot.service
    1 timers listed.
    Pass --all to see loaded but inactive timers, too.
    If no timer runs certbot
    NEXT LEFT LAST PASSED UNIT ACTIVATES
    0 timers listed.
    Pass --all to see loaded but inactive timers, too.

    If it lists none, certbot may run from cron instead, or not at all. The same guide shows where cron keeps its tasks, and how to set one up.

  5. Run Check it yourself again. notAfter should now be about 90 days away. If it still shows the old date, reload the web server. Then follow Confirm DownBad sees the fix.

The certificate was renewed, but the server still sends the old one

Section titled “The certificate was renewed, but the server still sends the old one”

This is the likely cause when sudo certbot certificates, as in the first cause, shows VALID with a future date, or your hosting provider shows a new certificate, while Check it yourself still prints the old notAfter. A web server reads its certificate files when it starts or reloads, so a renewed file isn’t sent until then.

  1. Reload the web server. This needs sudo, and it prints nothing when it works.

    • nginx and Apache are two widely used web servers. On Ubuntu (a common kind of Linux, a system many servers run), Apache’s service is called apache2.

      Terminal window
      sudo systemctl reload nginx
      If nginx isn't running
      nginx.service is not active, cannot reload.
      If you left out sudo
      Failed to reload nginx.service: Access denied
      See system logs and 'systemctl status nginx.service' for details.
      Terminal window
      sudo systemctl reload apache2
      If Apache isn't running
      apache2.service is not active, cannot reload.
      If you left out sudo
      Failed to reload apache2.service: Access denied
      See system logs and 'systemctl status apache2.service' for details.

      If the server isn’t running, start it instead. This needs sudo too, and it prints nothing when it works:

      Terminal window
      sudo systemctl start nginx
      If you left out sudo
      Failed to start nginx.service: Access denied
      See system logs and 'systemctl status nginx.service' for details.
      Terminal window
      sudo systemctl start apache2
      If you left out sudo
      Failed to start apache2.service: Access denied
      See system logs and 'systemctl status apache2.service' for details.

      A reload makes the server read its settings, and its certificate files, again, while it finishes the requests it is already answering. nginx’s guide explains its reload, and Apache’s guide its graceful restart (Apache’s name for a reload), which is what reloading Apache runs on Ubuntu.

  2. Run Check it yourself again. notAfter should now show the new date. If it still shows the old one, the server may be sending a different file: check that its certificate line, ssl_certificate on nginx or SSLCertificateFile on Apache, names certbot’s fullchain.pem (certbot’s guide to its files). Or a load balancer or CDN may be answering instead: see the next cause.

  3. Make certbot reload the server after every renewal, so this doesn’t happen again. Certbot runs any program you put in the folder /etc/letsencrypt/renewal-hooks/deploy after each successful renewal (certbot’s guide to hooks). This writes a small one that reloads nginx, and needs sudo. For Apache, put apache2 in place of nginx:

    Terminal window
    printf '#!/bin/sh\nsystemctl reload nginx\n' | sudo tee /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh
    If it works
    #!/bin/sh
    systemctl reload nginx
    If you left out sudo
    tee: /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh: Permission denied
    #!/bin/sh
    systemctl reload nginx

    Then let it run as a program. This needs sudo too, and it prints nothing when it works:

    Terminal window
    sudo chmod +x /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh
    If you left out sudo
    chmod: changing permissions of '/etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh': Operation not permitted
  4. Then follow Confirm DownBad sees the fix.

A load balancer or CDN still sends the old certificate

Section titled “A load balancer or CDN still sends the old certificate”

A load balancer is a service that shares visitors out between servers, and a CDN is a service such as Cloudflare that sits in front of your site. Many of them answer visitors themselves, with their own copy of the certificate. This is the likely cause when the certificate on your server is current, but Check it yourself still prints the old notAfter: it reaches whatever your name points at, which may not be your server.

  1. Find the service your domain points at: the load balancer or CDN in your hosting provider’s dashboard, or the one whose name issuer in Check it yourself gives.

  2. Renew or replace the certificate there. A certificate the service issued itself is usually renewed for you; one you uploaded is not:

  3. If more than one server answers for your site behind the load balancer, renew the certificate and reload the web server on each of them, as in the cause above.

  4. Run Check it yourself again. notAfter should now show the new date. Then follow Confirm DownBad sees the fix.

A certificate bought by hand wasn’t renewed

Section titled “A certificate bought by hand wasn’t renewed”

This is the likely cause when issuer in Check it yourself names an authority you bought the certificate from, and nothing on your server renews it. Someone has to renew it by hand before it ends.

  1. Renew it where it was bought, from the authority or the company that sold it, and download the new certificate and its intermediate certificates (the certificates that link yours to the authority, often in a file called a CA bundle, CA standing for certificate authority). Or replace it with a free certificate that a tool renews for you: Let’s Encrypt’s getting started guide shows the ways, and certbot’s instructions give the steps for your web server.

  2. Install the new certificate where the old one was. In a hosting control panel, paste it, its private key (the secret file made with it) and the CA bundle into the panel’s certificate page. On your own server, point the web server at the new files, with your certificate first and the bundle after it in one file: ssl_certificate on nginx, as nginx’s guide to certificate chains shows, and SSLCertificateFile on Apache, as Apache’s guide to SSLCertificateFile shows.

  3. Reload the web server, as in step 1 of the renewed-certificate cause. This needs sudo.

  4. Run Check it yourself again. notAfter should now show the new date. Then follow Confirm DownBad sees the fix.

  5. To hear before the next one ends, keep an SSL monitor on the site. It opens an incident once the certificate has no more days left than its Critical Days setting, 7 unless you changed it. See SSL Certificate Expiring.

Your server sends your certificate together with the intermediate certificates that link it to the authority’s root (the authority’s master certificate). The list is the chain. This is the likely cause when the reason says certificate has expired, but notAfter in Check it yourself is in the future, so your own certificate is current. SSL Labs’ report lists every certificate your server sends, marks an expired one EXPIRED, and explains that an expired certificate in the chain “invalidates the entire chain”.

It usually means the server sends an intermediate from an old chain file.

  1. Find the line in your web server’s settings that names the certificate file it sends: ssl_certificate on nginx, and SSLCertificateFile or SSLCertificateChainFile on Apache. They’re usually under /etc/nginx/, /etc/apache2/ or /etc/httpd/.

  2. Point it at the chain file your certificate tool keeps up to date, such as certbot’s fullchain.pem (certbot’s guide to its files), or download the current intermediates from your authority. On nginx, the certificate file holds the chain, as nginx’s guide to certificate chains shows. On Apache 2.4.8 or later, point SSLCertificateFile at it and delete any SSLCertificateChainFile line, as Apache’s guide to SSLCertificateChainFile explains.

  3. Reload the web server, as in step 1 of the renewed-certificate cause. This needs sudo.

  4. Check the chain again in SSL Labs: no certificate should be marked EXPIRED. SSL Certificate Not Trusted covers this case in more depth, and its Check it yourself has a command that lists the chain. Then follow Confirm DownBad sees the fix.

  1. Fix the cause first. A check that still fails while you work only adds to the time the incident takes to close.

  2. Open the incident and press Test Now. DownBad checks again within a few seconds instead of waiting for the next scheduled check.

  3. Wait a minute, then reload the incident page, which doesn’t update by itself. The incident closes by itself once enough checks in a row pass. You can’t close an incident by hand.

How many passing checks it takes. While an incident is open, DownBad checks less often after repeated failures. This is called back-off. Each failed check adds one step of back-off, up to 14. Each passing check takes one step away and asks for the next check straight away. When no steps are left, one more passing check closes the incident. So after a steady outage it takes one more passing check than there were failed checks while the incident was open, counting the one that opened it, and never more than 15.

These are the defaults. The monitor’s notification profile can change them for each monitor type under Backoff Config, and its settings are the ones that count: Recovery is how many passing checks in a row, with no back-off left, close the incident (2 by default, counting the check that takes the last step away), and Start after, Rate and Max interval decide when back-off starts and how far it goes. If the profile changes them, the step counts above and the waits below change with them.

How long that takes. After you press Test Now, those passing checks run back to back, a few seconds apart, so the incident usually closes within a minute. It takes longer when checks are slow to finish, such as a page that takes several seconds to load.

If you don’t press Test Now, the first passing check waits for the next scheduled one. With the default settings, from the third failed check on, DownBad waits 5 more minutes for each failure, up to an hour more than the monitor’s usual interval:

Monitor checks everyAfter 1 or 2 failed checksAfter 3After 6After 14 or more
1 minute1 minute6 minutes21 minutes61 minutes
5 minutes5 minutes10 minutes25 minutes65 minutes
1 hour1 hour1 hour 5 minutes1 hour 20 minutes2 hours
1 day1 day1 day 5 minutes1 day 20 minutes1 day 1 hour

Before you ask for help, collect:

  • the link to the incident, and the reason it shows, word for word
  • the output of the command in Check it yourself, with the time you ran it and your time zone
  • the link to your SSL Labs report
  • the output of the two certbot commands in Automatic renewal failed, if you use certbot

Never send your private key (privkey.pem, or any file ending in .key). Nobody needs it to help you, and anyone who has it can pretend to be your site.

Then send all of it to us through Contact Us.