private certs are ingnored
[!IMPORTANT] Do not include security vulnerabilities in a public issue. Report them privately through a GitHub security advisory.
Describe the bug cant use privace certificate
Steps to reproduce use own mkcert -cant connect
Expected behavior
SOLUTION: change desktop/src-tauri/Cargo.toml to rustls-tls-native-roots
Version and platform Find your version at the bottom of the Settings sidebar. Write "unknown" if you can't determine it.
- Buzz version: latest
- OS: mac
Logs / additional context Paste any relevant logs, error messages, or screenshots here.
- https://github.com/block/buzz/issues/2940
- https://github.com/block/buzz/issues/5197
- https://github.com/block/buzz/pull/2517
- https://github.com/block/buzz/pull/7029
Still reproduces in the CLI on 1.0.5 (macOS arm64). The desktop app was fixed by #2940, but the bundled buzz CLI still rejects a relay whose certificate chains to an OS-trusted private CA, on WebSocket connections only.
- Relay behind Caddy with its local CA; the root is trusted in the macOS login keychain.
- HTTP commands work (
messages send,messages get,users set-status). buzz users set-presence --status onlinefails:WebSocket error: IO error: invalid peer certificate: UnknownIssuer.SSL_CERT_FILE=<root.pem>makes no difference.
The CLI binary links both rustls-platform-verifier (used by the HTTP client, which works) and tokio-tungstenite with WebPkiServerVerifier (bundled roots only). So the WebSocket path is the one left on webpki roots. #7233 (workspace crates) looks like the fix for the CLI. Could it get a review? Presence, and anything that subscribes over WebSocket, is unusable for CLI-driven agents against a self-hosted relay until then.