Skip to content

Release: develop -> main#3900

Merged
davidleomay merged 1 commit into
mainfrom
develop
Jun 17, 2026
Merged

Release: develop -> main#3900
davidleomay merged 1 commit into
mainfrom
develop

Conversation

@github-actions

Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

…on (#3899)

#3893 added a 'Host: <public hostname>' header to the LNBits requests so
LNBits can build correct public LNURLs and pass its HTTPS check. But the
HTTP client derives the TLS servername from that Host header, so Node began
validating the node's self-signed cert against api.dfx.swiss.

LND and LNBits are reached over the private IP on PRD and serve a cert whose
SANs are localhost/lnd/<vm-dns>/<private-ip> — api.dfx.swiss is not among
them, so every /v1/lnurlp/* (and lnurlw/lnurld) call failed with
ERR_TLS_CERT_ALTNAME_INVALID (500).

The cert is already pinned via the CA on the shared agent, which is the real
identity guarantee for a private self-signed node; the SAN/hostname match is
redundant and is exactly what the spoofed Host header poisons. Skip the
hostname check (keep full chain verification) so the Host header stays intact
for LNBits while TLS no longer depends on it. Host-agnostic, so it also holds
once dfxprd reaches LNBits as 'lnd'.
@davidleomay davidleomay merged commit 4c605ee into main Jun 17, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants