Skip to content
RetainerProof
Website check How it works Pricing Notes Log in
Log in Start your first digest
Home / Notes/How a certificate or a domain renewal takes a site down without a deploy

Notes

How a certificate or a domain renewal takes a site down without a deploy

1 December 2026

The site was fine yesterday. Nobody deployed. This morning the browser says the connection is not private, or the name does not resolve, or it resolves and then refuses because the browser stored a rule last year. I used to look for a bad release. The usual cause is duller. A certificate renewal failed weeks ago and the old certificate has now run out, or the domain expired and the registrar has finally stopped answering for it. Nothing in the git history explains it, because nothing in the git history did it.

The lifetimes, and the backstop I keep on the box I run, are already in the hosting stack. I am not going to rebuild that calendar here. The short version, so this page stands alone: Let’s Encrypt’s lifetime document, updated 22 July 2026, still shows a 90-day default. Their note of 7 October 2026 says the default profile moves to 64 days on 10 February 2027, and that you should renew at about two thirds of the life. The classic profile goes to 45 days on 16 February 2028. The CA/Browser Forum’s baseline requirements set a maximum of 200 days from 15 March 2026, 100 days from 15 March 2027, and 47 days from 15 March 2029. Those dates are why a fixed “renew at 60 days” reminder goes stale. This note is what the renewal does when it fails, and why the site can look healthy the entire time it is failing.

Two different failures

I separate them before I write to anyone. A certificate failure: the name still resolves, and the TLS handshake is wrong. The visitor sees a warning, or a blank refusal, on a site that “loads” in the sense that DNS worked. A domain failure: the name does not resolve, or it resolves to a parking page the registrar put up, and later it must not resolve at all. The fixes are different people. The certificate is often the host, the proxy, or a DNS record I can see. The domain is the registrar, the card, and a human who may not be me. Mixing them in one mail produces a client who calls the host about an invoice, or the registrar about a hostname.

Two renewal failures side by side. A certificate failure still resolves the name and then fails TLS. A domain failure stops resolving, or resolves to a parking page, and later must not resolve during redemption.
Same symptom in a screenshot, sometimes. Different owner, different fix.

The monthly pass already asks whether either date is inside 30 days. That question is the monthly pass. Onboarding is where the owner of the registrar is named, which is the first two weeks. This note is the machinery under a date that was missed, including the ways a renewal can be broken while the current certificate is still green.

HTTP-01, the renewal that needs port 80

Let’s Encrypt’s HTTP-01 challenge, described on their challenge-types page, asks for a file on port 80 at /.well-known/acme-challenge/ under the hostname being issued. Not 443. Not a high port I chose because it felt tidy. Validation uses port 80. They follow redirects, up to 10, and only to http or https URLs on port 80 or 443. A redirect to some other port, or an eleventh hop, fails the challenge. An HTTPS redirect is allowed, and they do not validate the certificate on that hop. That last rule is why a renewal can still succeed after the current certificate is already expired, if port 80 still reaches a server that can answer the challenge. It is also why “the padlock looks fine today” says nothing about next month. The challenge is not the padlock. The challenge is a plain request on port 80 that has to succeed for their validators.

An HTTP-01 renewal needs port 80 and the challenge path. It breaks when port 80 is closed, when a redirect leaves ports 80 and 443, when the app swallows the challenge path, or when more than ten redirects occur. An HTTPS redirect can still work because the certificate on that hop is not checked.
The current certificate can look fine for weeks after this request has started failing.

The failures I actually see are boring. Port 80 is closed because someone decided HTTPS-only meant “drop 80 at the firewall,” and the renewal has no door. The application answers every path with the homepage, including the challenge path, so the validator receives HTML and a 200. A login wall redirects the challenge to an account page. A chain of hostnames hops more than ten times because a staging rule and a marketing rule both redirect. A new hostname was added in DNS and never attached where the proxy asks for certificates. On our own box, Traefik only requests a certificate for a hostname attached in Coolify. A CNAME that looks right, and a hostname the panel does not know, will not get a certificate. The steps for that attachment are the custom-domain note. For a client site I do not host, the same shape applies: the thing that requests the certificate has to know the name, and port 80 has to reach it.

None of these fail the site today. The certificate that was issued last time keeps working until it expires. Probes that only check “does 443 return 200” stay green. The renewal log, if anyone reads it, has been red for days. I read it when a date is inside the renewal window, not when a visitor sends a screenshot. By the screenshot, the quiet period is over and I am in an incident. The words for that afternoon are what I tell them while it is down. The work in this note is the week when it is not down yet.

A redirect from HTTP to HTTPS on a certificate that is already bad can still pass HTTP-01, because the validator does not check that certificate. I do not “test the renewal” by expiring the live certificate on purpose. I test the door: from outside the server, port 80 on that hostname answers, and the challenge path is not swallowed by the app. A curl from inside the container is a different network. The validators are outside. If I cannot make their request succeed, I do not have a renewal, I have a wish.

CAA, a record that blocks the next certificate

CAA is a DNS record that names which certificate authorities may issue for the name. Let’s Encrypt’s CAA document follows the specs: a CNAME is followed, and the policy on the target is the policy that counts. An issue record that names some other authority, and does not name Let’s Encrypt, blocks them. The same family of records can limit the method, via the validationmethods parameter, to http-01, dns-01, or tls-alpn-01. A record that allows only dns-01 will refuse an HTTP-01 renewal that used to work. The site stays up. The next issuance does not.

The other failure is the DNS host answering badly when asked for CAA at all. Issuance needs a normal answer for that query type, including the normal empty answer when no CAA record exists. A server that returns a failure for an unknown type looks, from the authority’s side, like it cannot tell whether a policy exists. People hit this after a DNS move. Mail works. The website works. The query type nobody uses until renewal day does not. I ask for the CAA answer when I take a site on, and again when anyone changes DNS hosts. It is one lookup. It is cheaper than a morning of “the certificate expired and we did not deploy.”

A CAA record is often left behind by the previous host, on purpose, from a year when that host was the only one allowed to issue. The move to a new server updates the A record. It does not update the policy. I have started treating “we pointed the domain” as incomplete until CAA is either absent or it names the authority we actually use. Absence is a valid policy. A stale permission is a loaded one. I write the result on the roster in a line: no CAA, or the names I saw. I do not leave it as “DNS looks fine.”

The name on the certificate, and the rule the browser kept

A certificate is valid for the names it lists, not for the names I wish it listed. The apex and www are two names. A certificate for one of them does not cover the other. A new campaign hostname, added as a CNAME and not included in the certificate, fails for visitors on that hostname only. The homepage still looks perfect, which is why the report from the client is “only the ads link is broken” and why a single homepage probe will not catch it. The money path and the names I know about get fetched. A name I do not know about will not.

HSTS is how that mismatch becomes a trap instead of a warning someone can click past. The header is Strict-Transport-Security, and max-age is a number of seconds the browser should remember. MDN’s page for the header is the description I trust for the mechanics. includeSubDomains applies to subdomains of the host that sent the header. It does not climb to the parent. A policy on www.example.com does not cover the apex. A policy on the apex, with includeSubDomains, covers names under it, including ones I forgot, such as a staging host that has no certificate and now cannot be opened as plain HTTP either.

Sending max-age=0 tells a browser that receives the header to drop the policy it stored for that host. Browsers that do not visit will not see it. The preload list is a separate thing, shipped with the browser. The submission site asks for max-age of at least 31536000, which is one year, plus includeSubDomains, and the example header there uses 63072000, which is two years. I do not put a client on that list during a care plan. Taking a name off the list is not a header I can ship this afternoon. If a predecessor turned preload on, I say so in the letter in a calm week, before a certificate mistake has nowhere to fall back to.

A browser that stored HSTS for a host will not fall back to plain HTTP. includeSubDomains covers names under the host that sent the header, not the parent. A certificate for www does not make the apex name valid.
The header outlives the deploy that sent it. The certificate name does not grow to match.

I do not invent a story about how long “most browsers” cache the header. The number that matters is the max-age on the response I can fetch, and whether the host is on the preload list. Both are checkable. A guessed “about a day” is how I tell a client the warning will clear overnight when it will not. If I have not fetched the header, I do not describe it.

The quiet stretch after a domain expires

ICANN’s note for registrants on the Expired Registration Recovery Policy says the registrar sends a notice about a month before a generic TLD expires, and another about a week before. I do not wait for those messages. They go to whatever address is on the registrar account, which is often a founder who left, or a mailbox nobody forwards. The date belongs on my roster because onboarding named a human who can see it, or it named the retainer as not covering the domain. Hoping the notice finds me is not a control.

What happens in the days after expiry depends on the registrar. Some keep resolving. Some replace the site with a parking page. I do not assume a fixed number of grace days, and I do not cite one. The policy I can point at is the part after deletion. For generic TLDs, sponsored ones excepted, there is a 30-day redemption period, and during that period the name must not resolve. The domain can still be recovered by paying the registrar in that window. It will not answer as a website while you do it. That is the quiet failure’s second half: the site may look merely “down” in a browser, while the clock that matters is a billing clock at the registrar, and DNS is off on purpose.

A domain timeline: a notice about a month before expiry, a notice about a week before, expiry when the registrar may still resolve or may park the name, then deletion and a 30-day redemption window during which DNS must stay off.
The site can look fine after the renewal has already failed. Redemption is not the same as the site being up.

Restoring yesterday’s files does not bring back a name that must not resolve. I keep that distinction sharp so a frightened afternoon does not turn into a useless restore. The file drill is the restore note. The domain drill is the date, the card, and the person who can pay. If I do not hold the registrar login, the letter in the month before expiry is a request, not a claim that I renewed it. I would rather send that request three times than send a clever status line on the day redemption starts.

A parking page is not “the site is up.” It is the registrar answering. My outside check has to know the real homepage well enough to tell a parking page from the client’s page. A 200 from a page of ads is a failure. I write what I saw, not only the status code. The uptime section of a client report is still a section, and a green count that fetched the wrong body is a bad section. When the name is in redemption and DNS is off, the check fails plainly. The mail says the name is in redemption, if I have confirmed that with the registrar, and it says I have not confirmed it, if I have not. Guessing “the host is down” during redemption wastes the window in which someone can still pay.

The week a date is inside 30 days

This is the list I run when the roster says soon. It is not a new product. It is the list I wish I had run the week before the last surprise.

  1. Read the date from the registrar or from the certificate, not from memory and not from last month’s letter. Letters drift. The panel does not.
  2. Name the human who can pay or click renew. If that human is not me, mail them now, with the date in the subject. Do not wait for the one-week notice.
  3. For a certificate I am responsible for: from outside, port 80 reaches the host, the challenge path is not eaten by the app, and CAA is either empty or it allows the authority we use. Read the renewal log if there is one. A green padlock is not this step.
  4. Fetch the names that matter, not only the homepage. Apex, www, and any hostname the plan claims we watch. A mismatch is a finding this week, while the old certificate still works.
  5. Fetch Strict-Transport-Security if it is present. Write down max-age and whether includeSubDomains is set. Do not add preload. Do not tell anyone the warning will clear on a schedule I have not read.
  6. If the domain is already expired, find out whether it is still inside the registrar’s own grace or already deleted. Redemption means DNS stays off. Say which state I actually confirmed.

If step 2 is “I do not know who pays,” that is the whole task. The certificate machinery can wait an hour. An ownerless domain inside 30 days cannot. I have lost an afternoon to CAA while the card on the registrar was the thing that was about to fail. The roster exists so I do the expensive unknown first.

What I send before it breaks

This is a note for a site I am inventing. Not a client. The dates are picked so the shape is visible.

Subject: harbour.example domain expires 9 January 2027

The domain expires on 9 January 2027. The certificate on the site is separate, and it is currently valid. I cannot renew the domain. The card is on your registrar account.

Reply with the renewal, or tell me who will do it this week. I will check the date again on my next pass. If it expires, the name can stop resolving, and after deletion there is a redemption window where DNS stays off.

Short on purpose. No lecture about the baseline requirements. No threat. The ICANN notices are their system. This is mine, and it goes to the person named in onboarding, not to a generic inbox. If they do not reply, the next letter repeats the date and says I have not seen a renewal. I do not escalate the adjectives. I escalate the repetition, and I keep the date accurate.

When the certificate is the one at risk, the mail names the door that is shut. “Renewal needs port 80 on the public hostname. Port 80 did not answer when I checked on Tuesday. The current certificate is still valid, so visitors are fine today. They will not be when it expires on [date].” That is a sentence a client can forward to a host. “SSL is broken” is not, because SSL is not broken yet, and the host will look, see a padlock, and close the ticket.

What I send after it breaks

Then it is an incident, and the four lines apply. What is affected. What I have confirmed. What I do not know. When I will write again. “The certificate expired” is allowed only after I have read the date. “The domain is in redemption” is allowed only after the registrar says so. A browser warning is not, by itself, either of those facts. It is a browser warning. I start there.

I do not tell them to click through a warning, and I do not tell their customers to. If HSTS is in force for that host, there may be no click-through that helps, and plain HTTP is what the header was designed to refuse. The fix is a certificate with the right names, or a domain that resolves again, not a paragraph of advice that puts the risk on the visitor. Recovery mail says when the real page returned, and what I changed. The monthly letter repeats the window once. It does not relitigate it.

A file restore in that hour is the wrong reflex unless the files are actually gone. Expired certificates and expired domains leave the disk alone. I have watched an afternoon disappear into a backup restore while the A record pointed at a parking page. The restore note is for when a copy is the remedy. This note is for when the name or the certificate is the remedy. The sample digest is still the page they will read later. It should show the gap. It should not show a fake story about a deploy we rolled back.

A checklist I can run without a crisis

  • Certificate date and domain date are both on the roster, read this month, not recalled.
  • The human who can renew the domain is named. Inside 30 days, they have already been mailed.
  • Port 80 answers from outside for any name I renew with HTTP-01. The challenge path is not the homepage and not a login wall.
  • CAA is absent, or it allows the authority we use, including the method we use.
  • Apex, www, and the other watched hostnames are on the certificate that visitors actually receive.
  • HSTS, if present, is written down. Preload is not added from a care plan. includeSubDomains is not assumed to cover the parent.
  • A parking page counts as a failure. A 200 is not the page.
  • After deletion, I do not promise the site will resolve during the 30-day redemption window. DNS is off then.
  • I do not restore files to fix a name or a certificate.

The green checks are allowed to stay boring. The failure this note is about is the one that hides behind a boring month. I would rather the letter say “port 80 failed, certificate still valid until March” than say nothing until March arrives without a certificate.

Sources

  • Let’s Encrypt, challenge types. HTTP-01 uses port 80. Redirects are followed, up to 10, only to http or https on port 80 or 443. HTTPS redirects do not validate the certificate.
  • Let’s Encrypt, CAA. CAA is followed across a CNAME. An issue record for another authority blocks issuance. validationmethods can limit http-01, dns-01, and tls-alpn-01. The DNS server has to answer the CAA query normally.
  • Let’s Encrypt, certificate lifetimes. Updated 22 July 2026. Default still 90 days.
  • Let’s Encrypt, 64-day certificates. 7 October 2026. Default profile moves on 10 February 2027. Renew at about two thirds of the lifetime.
  • Let’s Encrypt, from 90 to 45. Classic profile at 45 days on 16 February 2028.
  • CA/Browser Forum baseline requirements. Maximum validity 200 days from 15 March 2026, 100 days from 15 March 2027, 47 days from 15 March 2029.
  • ICANN, what registrants should know about ERRP. Notices about a month before expiry and about a week before.
  • ICANN, Expired Registration Recovery Policy. 30-day redemption for generic TLDs, sponsored TLDs excepted. DNS does not resolve during redemption.
  • MDN, Strict-Transport-Security. max-age is seconds. includeSubDomains applies under the host that sent the header. max-age=0 clears a stored policy on a browser that receives it.
  • HSTS preload submission. The list asks for max-age of at least 31536000 and includeSubDomains. The example header uses 63072000.
  • The hosting stack. Where the lifetime calendar and the renewal backstop live.

Monthly agency tip

One tip a month.

One practical tip a month on proving your retainer is worth it. No spam.

I email a confirmation link before I add you. I store the address, this page, and the date. Unsubscribe any time. Read the privacy page.

RetainerProof

Client website reports for care retainers.

Website checkAPIRelease notesAutomationNotesUpdatesLegalPrivacyTerms

Operated by DIGITAL AYNS LLC · A product by DIGITAL AYNS · Built by @inc_ongi

Guides

Reporting for agenciesMaintenance retainerBeyond WordPressMaintenance report templateManageWP alternativeUptime reportProve retainer valueCare-plan reportingClient status pagesMainWP alternativeQuiet-month emailsReporting toolsManageWP alternativesContract templateAnnual reviewStatus page comparisonClient work log

Resources

Calculators, templates, and checklists

Comparisons

Which tool does which job

Notes

Care plans and the stack