SSL Certificate Expiring
Your site’s certificate hasn’t ended yet, but it ends sooner than DownBad’s check of it allows. If visitors’ browsers trust it now, they see nothing wrong until the day it ends, which leaves time to fix it. This page finds out why it hasn’t been renewed, or why DownBad reports it this early, renews it before the date, 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 date it ends. After that date,
browsers show visitors a warning page instead of your site.
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://, whose
current name is TLS, Transport Layer Security). An incident is open for one,
and it shows one of these reasons, with the failure type cert invalid:
SSL certificate expires in 5 day(s) (critical threshold: 7)SSL certificate did not renew: it expires in 5 day(s), and an automatic renewal would have replaced it by now
The certificate hasn’t ended yet, whatever the failure type says: cert invalid is where DownBad files a certificate near its end. The first reason says what is wrong: the certificate has 5 days left, and the monitor fails it at 7 days or fewer.
The second reason appears only when the monitor’s Auto-renews setting is on. The certificate should have been replaced by now and wasn’t, so start with Automatic renewal isn’t working.
Three settings of the SSL monitor decide when DownBad tells you:
- Critical Days, 7 unless you changed it. Once the certificate has no more
days left than this, the check fails and DownBad opens this incident. It is
the
critical thresholdin the reason. - Warning Days, 30 unless you changed it. A certificate with no more days
left than this, but more than Critical Days, still passes the check, and
DownBad opens no incident for it. The first check that finds it this close
sends one Certificate Expiring alert, if the monitor’s notification
profile (the settings that decide which events alert you, and where) has
that rule turned on for SSL monitors, as every profile DownBad provides
does. Later checks of the same certificate don’t send it again, and a
renewed certificate gets its own alert once it, too, is this close. If the
monitor belongs to a bundle (a group of monitors for one site, under Bundles in
DownBad’s sidebar), the summary at the top of the bundle’s page counts it,
as in
1 SSL certificate expiring soon. - Auto-renews, off unless you turned it on. Turn it on when the certificate renews by itself, as with certbot, a managed host or a CDN. Critical Days and Warning Days then don’t apply: the check passes as the end date approaches, and fails only once the certificate has 7 days or fewer left, which an automatic renewal never leaves it. A six-day certificate never has more than 7 days left, so leave Auto-renews off for one and use Critical Days instead, as in The monitor’s Critical Days is longer than renewal allows.
To change them, open the monitor from Monitors in DownBad’s sidebar, and
select Edit on its Configuration card. The settings call them
Warning Days and Critical Days. Each takes a number of days from 1 to
365, and Critical Days must be lower than Warning Days. Once they’re set, the
Configuration card lists them as Warning Threshold and Critical
Threshold. A monitor added when you signed up, or with a bundle, starts with
neither set: its card doesn’t list them, both fields show --, and the check
uses 30 and 7.
If the certificate’s end date has already passed, follow SSL Certificate Expired instead.
Is it you or us?
Section titled “Is it you or us?”It is your certificate. Its end date is written inside it, so every visitor’s browser reads the same date DownBad does. DownBad didn’t open this incident on one check, either: it checked again from up to three other places in the United States, with the same Critical Days, 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 an older certificate than the others. 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 the end date 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 how long is left.
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, its Domain, in place of both
example.coms. 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 had 85 days left, and for a test site whose six-day test
certificate had just under 6 days left.
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=Oct 1 09:59:18 2026 GMTnotAfter=Oct 7 09:59:17 2026 GMTissuer= /CN=Pebble Intermediate CA 652978openssl 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=Oct 1 09:59:18 2026 GMTnotAfter=Oct 7 09:59:17 2026 GMTissuer=CN = Pebble Intermediate CA 652978"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=Oct 1 09:59:18 2026 GMTnotAfter=Oct 7 09:59:17 2026 GMTissuer=CN=Pebble Intermediate CA 652978How to read it:
notBeforeandnotAfterare the dates the certificate starts and ends, in GMT (Greenwich Mean Time, London’s time in winter). Count the days from today tonotAfter.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. The test site’s issuer is Pebble, Let’s Encrypt’s test authority.- If
issuernames your own site, the certificate is self-signed: it signed itself, so no authority vouches for it, and usually nothing renews it for you. Make a new one before the date, the way the old one was made, or get a free one from Let’s Encrypt instead, as SSL Certificate Not Trusted explains. - If
notAfteris a week or less afternotBefore, the certificate is a short-lived one, such as Let’s Encrypt’s six-day certificates. It never has more days left than the default Critical Days of 7: see The monitor’s Critical Days is longer than renewal allows. - If
notAfteris more than 30 days away, but no further than the monitor’s Critical Days, Critical Days is likely set past the point your certificate renews. Let’s Encrypt recommends renewing its 90-day certificates every 60 days, so 30 days before they end. See The monitor’s Critical Days is longer than renewal allows. - If
notAfteris further away than the monitor’s Critical Days, the certificate 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.
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 isn’t working
Section titled “Automatic renewal isn’t working”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.
Its guide
says that from version 4.0, certbot renews a certificate once less than a
third of its life is left, or half its life for a certificate valid for 10
days or less. Older versions renew 30 days before the end. For a 90-day
certificate, both mean 30 days. So with certbot’s settings as they come, a
90-day certificate with 7 days or fewer left means certbot has gone more than
three weeks without renewing it. 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 ends soon Saving debug log to /var/log/letsencrypt/letsencrypt.log- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Found the following certs:Certificate Name: example.comSerial Number: 728ad071d600c9eeKey Type: ECDSADomains: example.comExpiry Date: 2026-10-07 09:59:17+00:00 (VALID: 5 days)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.If it shows a date further away than the one Check it yourself printed, 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).
-
Test renewal first. A dry run is a test run that leaves your certificate as it is: certbot’s list of options says it renews against Let’s Encrypt’s test server without saving the certificates it gets, and that a dry run is how you “test whether future renewals will succeed”. The same list warns that it may reload the web server while it runs. This needs
sudo:Terminal window sudo certbot renew --dry-runIf it works Saving debug log to /var/log/letsencrypt/letsencrypt.log- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Processing /etc/letsencrypt/renewal/example.com.conf- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Simulating renewal of an existing certificate for example.com- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Congratulations, all simulated 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- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Simulating renewal of 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/m1l4m06qcZE6l9KQjci8HCB00s5zRbyLyr04adAfM_0": 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 simulated 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-74bt4i1l/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 until it passes.
-
Make sure certbot runs by itself. 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.
-
Once the dry run passes, renew for real. 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 fails, the lines after
Domain:say why, as in step 3. If certbot says the certificate isn’t due for renewal yet, see The monitor’s Critical Days is longer than renewal allows. -
Run Check it yourself again.
notAftershould now be about 90 days away, for a 90-day certificate. 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 a date further away
than Check it yourself prints, or your hosting provider
shows a new certificate. 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 has been renewed,
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, as its renewal guide explains. It doesn’t renew certificates you imported: as that page explains, get a new one from the authority that issued it and reimport it into ACM. 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 is due for renewal
Section titled “A certificate bought by hand is due for renewal”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, which together make up the certificate chain:
ssl_certificateon nginx, as nginx’s guide to certificate chains shows, andSSLCertificateFileon Apache 2.4.8 or later, 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.
The monitor’s Critical Days is longer than renewal allows
Section titled “The monitor’s Critical Days is longer than renewal allows”This is the likely cause when the certificate renews by itself, but an incident opens shortly before each renewal, or never closes. Certbot renews a 90-day certificate once fewer than 30 days are left, so a monitor whose Critical Days is 30 or more fails the check before certbot’s renewal comes round, even though nothing is wrong. Let’s Encrypt also offers certificates valid for six days, and recommends renewing them every three days. One of those never has more days left than the default Critical Days of 7, so the check fails all the time.
-
Open the monitor from Monitors in DownBad’s sidebar, and select Edit on its Configuration card. Look at Critical Days, and at Warning Days, which must stay above it.
-
Set Critical Days below the point where your certificate renews. For a 90-day certificate renewed by certbot, that point is 30 days, as the first cause explains, and the default of 7 still leaves a week to fix a renewal that has failed for more than three weeks. For a certificate valid for more than 10 days, certbot 4.0 or later renews once less than a third of its life is left: 15 days for a 45-day certificate. For a six-day certificate, renewed every three days, set it to 2. Save the monitor.
For a certificate that lasts longer than that, you can instead turn on Auto-renews in the same settings, so DownBad tells you only when a renewal is missed.
-
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 certbot commands in Automatic renewal isn’t working, 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.