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.
What you’re seeing
Section titled “What you’re seeing”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.
Is it you or us?
Section titled “Is it you or us?”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.
Check it yourself
Section titled “Check it yourself”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.
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -issuernotBefore=Sep 26 22:49:11 2026 GMTnotAfter=Dec 25 22:56:35 2026 GMTissuer= /C=US/O=SSL Corporation/CN=Cloudflare TLS Issuing ECC CA 3notBefore=Apr 9 00:00:00 2015 GMTnotAfter=Apr 12 23:59:59 2015 GMTissuer= /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CAopenssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -issuerIf openssl isn’t installed, install the openssl package with your
package manager, which needs sudo.
notBefore=Sep 26 22:49:11 2026 GMTnotAfter=Dec 25 22:56:35 2026 GMTissuer=C = US, O = SSL Corporation, CN = Cloudflare TLS Issuing ECC CA 3notBefore=Apr 9 00:00:00 2015 GMTnotAfter=Apr 12 23:59:59 2015 GMTissuer=C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA"Q" | & "C:\Program Files\Git\usr\bin\openssl.exe" s_client -connect example.com:443 -servername example.com 2>$null | & "C:\Program Files\Git\usr\bin\openssl.exe" x509 -noout -dates -issuerWindows doesn’t include openssl, but Git for Windows
installs a copy, and this command runs it. Without Git for Windows, use SSL
Labs, as above. The output shown here is OpenSSL 3’s, from OpenSSL 3.6 on
another computer.
notBefore=Sep 26 22:49:11 2026 GMTnotAfter=Dec 25 22:56:35 2026 GMTissuer=C=US, O=SSL Corporation, CN=Cloudflare TLS Issuing ECC CA 3notBefore=Apr 9 00:00:00 2015 GMTnotAfter=Apr 12 23:59:59 2015 GMTissuer=C=GB, ST=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO RSA Domain Validation Secure Server CAHow to read it:
notAfteris the end date, in GMT (Greenwich Mean Time, London’s time in winter). If it is in the past, the certificate has expired.issuernames 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
issuernames 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
notAfteris 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 sayscertificate has expired, another certificate in the chain may have expired: see A certificate in the chain has expired.
Fix it
Section titled “Fix it”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.
Automatic renewal failed
Section titled “Automatic renewal failed”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.
-
See what certbot has on the server. This needs
sudo:Terminal window sudo certbot certificatesIf it works Saving debug log to /var/log/letsencrypt/letsencrypt.log- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Found the following certs:Certificate Name: example.comSerial Number: 36968024a7c746fcKey Type: ECDSADomains: example.comExpiry Date: 2026-12-30 07:15:01+00:00 (VALID: 89 days)Certificate Path: /etc/letsencrypt/live/example.com/fullchain.pemPrivate 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.comSerial Number: 63e0dfbedd335928b5d29a71b53c919d0c595f78Key Type: ECDSADomains: example.comExpiry Date: 2026-08-30 00:00:00+00:00 (INVALID: EXPIRED)Certificate Path: /etc/letsencrypt/live/example.com/fullchain.pemPrivate 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: EXPIREDmeans certbot never renewed it: carry on. If it saysVALIDwith 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).
-
Renew it now, and read why it failed before. This needs
sudo:Terminal window sudo certbot renewIf 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.comCertbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:Domain: example.comType: connectionDetail: 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. -
If it failed, the lines after
Domain:say why. The failure above came from a test authority, so the words afterDetail: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 startinghttp://) 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.
-
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 ACTIVATESThu 2026-10-01 21:03:32 UTC 13h Thu 2026-10-01 07:14:08 UTC - certbot.timer certbot.service1 timers listed.Pass --all to see loaded but inactive timers, too.If no timer runs certbot NEXT LEFT LAST PASSED UNIT ACTIVATES0 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.
-
Run Check it yourself again.
notAftershould 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.
-
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 nginxIf nginx isn't running nginx.service is not active, cannot reload.If you left out sudo Failed to reload nginx.service: Access deniedSee system logs and 'systemctl status nginx.service' for details.Terminal window sudo systemctl reload apache2If Apache isn't running apache2.service is not active, cannot reload.If you left out sudo Failed to reload apache2.service: Access deniedSee system logs and 'systemctl status apache2.service' for details.If the server isn’t running, start it instead. This needs
sudotoo, and it prints nothing when it works:Terminal window sudo systemctl start nginxIf you left out sudo Failed to start nginx.service: Access deniedSee system logs and 'systemctl status nginx.service' for details.Terminal window sudo systemctl start apache2If you left out sudo Failed to start apache2.service: Access deniedSee 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.
-
-
Run Check it yourself again.
notAftershould 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_certificateon nginx orSSLCertificateFileon Apache, names certbot’sfullchain.pem(certbot’s guide to its files). Or a load balancer or CDN may be answering instead: see the next cause. -
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/deployafter each successful renewal (certbot’s guide to hooks). This writes a small one that reloads nginx, and needssudo. For Apache, putapache2in place ofnginx:Terminal window printf '#!/bin/sh\nsystemctl reload nginx\n' | sudo tee /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.shIf it works #!/bin/shsystemctl reload nginxIf you left out sudo tee: /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh: Permission denied#!/bin/shsystemctl reload nginxThen let it run as a program. This needs
sudotoo, and it prints nothing when it works:Terminal window sudo chmod +x /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.shIf you left out sudo chmod: changing permissions of '/etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh': Operation not permitted -
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.
-
Find the service your domain points at: the load balancer or CDN in your hosting provider’s dashboard, or the one whose name
issuerin Check it yourself gives. -
Renew or replace the certificate there. A certificate the service issued itself is usually renewed for you; one you uploaded is not:
- AWS (Amazon Web Services): ACM (AWS Certificate Manager) renews the certificates it issued by itself when they were validated through DNS, and otherwise emails you as the end date nears. Its renewal guide says it renews neither a certificate that has already expired nor one you imported, so request or import a new one, and attach it to the load balancer. AWS’s load balancer guide says to renew or replace each certificate before it ends.
- Cloudflare: Cloudflare can’t renew certificates you uploaded, so upload the new one there.
- DigitalOcean: a load balancer certificate made with its
Let’s Encrypt option
is renewed for you; for
one you uploaded,
upload the new one and point the load balancer’s HTTPS rule (its rule
for secure,
https://connections) at it.
-
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.
-
Run Check it yourself again.
notAftershould 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.
-
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.
-
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_certificateon nginx, as nginx’s guide to certificate chains shows, andSSLCertificateFileon Apache, as Apache’s guide to SSLCertificateFile shows. -
Reload the web server, as in step 1 of the renewed-certificate cause. This needs
sudo. -
Run Check it yourself again.
notAftershould now show the new date. Then follow Confirm DownBad sees the fix. -
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.
A certificate in the chain has expired
Section titled “A certificate in the chain has expired”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.
-
Find the line in your web server’s settings that names the certificate file it sends:
ssl_certificateon nginx, andSSLCertificateFileorSSLCertificateChainFileon Apache. They’re usually under/etc/nginx/,/etc/apache2/or/etc/httpd/. -
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, pointSSLCertificateFileat it and delete anySSLCertificateChainFileline, as Apache’s guide to SSLCertificateChainFile explains. -
Reload the web server, as in step 1 of the renewed-certificate cause. This needs
sudo. -
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.
Confirm DownBad sees the fix
Section titled “Confirm DownBad sees the fix”-
Fix the cause first. A check that still fails while you work only adds to the time the incident takes to close.
-
Open the incident and press Test Now. DownBad checks again within a few seconds instead of waiting for the next scheduled check.
-
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 every | After 1 or 2 failed checks | After 3 | After 6 | After 14 or more |
|---|---|---|---|---|
| 1 minute | 1 minute | 6 minutes | 21 minutes | 61 minutes |
| 5 minutes | 5 minutes | 10 minutes | 25 minutes | 65 minutes |
| 1 hour | 1 hour | 1 hour 5 minutes | 1 hour 20 minutes | 2 hours |
| 1 day | 1 day | 1 day 5 minutes | 1 day 20 minutes | 1 day 1 hour |
Still stuck
Section titled “Still stuck”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.