Skip to content

fix(cli): use rustls native roots for WSS - #17

Merged
BrianInAz merged 1 commit into
mainfrom
fix/cli-native-tls-roots
Aug 5, 2026
Merged

fix(cli): use rustls native roots for WSS#17
BrianInAz merged 1 commit into
mainfrom
fix/cli-native-tls-roots

Conversation

@BrianInAz

Copy link
Copy Markdown
Owner

WSS (agents draft-create/update, users set-presence) used the compiled-in Mozilla webpki-roots bundle, so private-CA relays always fail with UnknownIssuer. Switch tokio-tungstenite to rustls-tls-native-roots: macOS keychain / Linux system bundle — private relays work where the CA is trusted.\n\nAll tokio-tungstenite consumers use the workspace dep, so this one line covers the CLI, ws-client, acp, pair-relay, and test client.

Generated with Qwen Code (59-shotted by Qwen-Coder)

tokio-tungstenite was built with rustls-tls-webpki-roots (compiled-in
Mozilla bundle), so WSS could never trust private-CA relays (e.g. the
homelab Home Lab CA on buzz.bjzy.me) regardless of keychain or
SSL_CERT_FILE. Switch to rustls-tls-native-roots: macOS keychain /
Linux system bundle, so private relays work where the CA is trusted.
@cursor

cursor Bot commented Aug 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@BrianInAz
BrianInAz merged commit 6e85231 into main Aug 5, 2026
25 of 29 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.

1 participant