Skip to content

tls: an empty ca list trusts no certificate - #44988

Closed
robobun wants to merge 4 commits into
mainfrom
robobun/033e14b1/tls-empty-ca-trusts-nothing
Closed

robobun wants to merge 4 commits into
mainfrom
robobun/033e14b1/tls-empty-ca-trusts-nothing

test: ssl-ctx-cache keeps the title of what its `ca: []` test proves

e56f954
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Oct 11, 2026 in 9m 56s

Code review found 1 important issue

Found 2 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 1
🟡 Nit 0
🟣 Pre-existing 0
Severity File:Line Issue
🔴 Important src/runtime/socket/SSLConfig.rs:284 Bun-native callers (fetch 'tls', Bun.connect, Bun.SQL, RedisClient, WebSocket) whose computed 'ca' is '[]' now have ever