Skip to content

Require TLS peer cert to match machineID on console SSH - #96

Open
chbmuc wants to merge 1 commit into
masterfrom
console-auth
Open

chbmuc wants to merge 1 commit into
masterfrom
console-auth

Conversation

@chbmuc

@chbmuc chbmuc commented Apr 23, 2026

Copy link
Copy Markdown

Bind the verified TLS peer certificate to the SSH context via a ConnCallback, and require in sessionHandler that the requested machineID matches the certificate's CN or a DNS SAN before any metal-api call or console attachment. Fail closed on missing cert or mismatch, and log cert subject/serial on every accept or reject for auditing.

Used AI-Tools ✨

Generated-By: Claude-Code/Opus 4.7

Bind the verified TLS peer certificate to the SSH context via a
ConnCallback, and require in sessionHandler that the requested machineID
matches the certificate's CN or a DNS SAN before any metal-api call or
console attachment. Fail closed on missing cert or mismatch, and log
cert subject/serial on every accept or reject for auditing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@chbmuc
chbmuc requested a review from a team as a code owner April 23, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant