Skip to content

feat: add node-address-bound TLS termination#1029

Draft
samcamwilliams wants to merge 2 commits into
edgefrom
feat/tls
Draft

feat: add node-address-bound TLS termination#1029
samcamwilliams wants to merge 2 commits into
edgefrom
feat/tls

Conversation

@samcamwilliams

Copy link
Copy Markdown
Collaborator

Adds native TLS termination to HyperBEAM’s normal Cowboy/Ranch listener.

Certificates are obtained and renewed through a new ~tls@1.0 device. The certificate leaf uses the node’s exact RSA priv-wallet as the source key, allowing users to check by eye that at the HTTPS connection they have with a HyperBEAM node matches exactly the node's wallet identity.

HTTP-01 challenges are routed through the normal on/request hook of the node. Runtime state is held by one hb_name process, with no separate TLS server or OTP supervision tree. Certificate rotation preserves existing connections.

Supports HTTP/1.1 and HTTP/2. HTTP/3 is rejected when TLS termination is enabled for now.

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.

1 participant