Certificates guide: keep a domain's own hostnames #164

Merged
jcoffey-dev merged 1 commits from fix/certificates-guide-keeps-names-160 into main 2026-11-06 07:34:40 +00:00
Owner

Fixes #160.

The guide wrote an empty subjectAlternativeNames for every domain it switched. A domain already on ACME isn't ticked by default, but ticking one wiped its custom list with no warning.

It now keeps the domain's list. The names check and the review step use the names that list orders, by the server's rule: a name without a dot gets the domain added, one with a dot is used as written. A domain with no list gets the defaults, as before.

Tested with a new orderNames case, plus typecheck, lint, i18n check, full npm test, the release-version and IPv6 scripts, build and notice check. I didn't click through the guide against a live server.

Fixes #160. The guide wrote an empty `subjectAlternativeNames` for every domain it switched. A domain already on ACME isn't ticked by default, but ticking one wiped its custom list with no warning. It now keeps the domain's list. The names check and the review step use the names that list orders, by the server's rule: a name without a dot gets the domain added, one with a dot is used as written. A domain with no list gets the defaults, as before. Tested with a new `orderNames` case, plus typecheck, lint, i18n check, full `npm test`, the release-version and IPv6 scripts, build and notice check. I didn't click through the guide against a live server.
jcoffey-dev added 1 commit 2026-11-06 07:31:54 +00:00
Certificates guide: keep a domain's own hostnames
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 1m3s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m37s
78813c486f
The guide wrote an empty subjectAlternativeNames for every domain it
switched, so ticking a domain already on ACME wiped its custom list with
no warning. It now keeps the list, and checks and shows the names that
list orders: a name without a dot gets the domain added, one with a dot
is used as written, the same as the server.

Fixes #160
jcoffey-dev merged commit 4f1682fc76 into main 2026-11-06 07:34:40 +00:00
jcoffey-dev deleted branch fix/certificates-guide-keeps-names-160 2026-11-06 07:34:40 +00:00
Sign in to join this conversation.