You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ed5567b
Browse filesBrowse the repository at this point in the historyBrowse files
feat(tls): verify a certificate issued for a name the endpoint does not carry
A node reached at its LAN address while holding a certificate issued for a
routable name cannot satisfy standard verification: the address is right and
the name does not match. That is the ordinary shape of a homelab once
Tailscale, an ACME domain or a reverse proxy is in front of pveproxy — and
until now the only way through was to pin the certificate.
Pinning answers it, then stops answering it. An ACME certificate is renewed,
so the empreinte changes on a schedule, and every renewal resurfaces as
"someone is between you and it" — the one message that must never become
routine. The operator learns to retype `config trust` without reading it,
which is exactly the reflex the pinning was there to prevent.
tls.server_name names the identity the certificate actually carries while the
connection still goes to the configured address. Verification returns to a
real CA, the route stays local, and a renewal changes nothing. It is ignored
in pinned mode: pinning already answers the identity question, and more
strictly, so honouring the override there could only weaken it.
The CertChanged message also pointed at the wrong file. pveproxy serves
pveproxy-ssl.pem when it exists and ignores pve-ssl.pem, so an operator
verifying "from the node console" as instructed reads the certificate that is
not being served, sees the empreinte they expected, and concludes they are
under attack. It now names both files, says which one wins, and offers
server_name before pinning when the certificate came from an ACME provider.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVhTKvLaAPfxyhDpLo6ufY
0 commit comments