Skip to content

Commit 27313d4

Browse files
pmaxhoganclaude
andcommitted
build(net): rustls native OS trust roots
R-P2-2: the reqwest feature was the bare "rustls-tls", which bundles the webpki-roots Mozilla set, NOT the OS/enterprise trust store - so corporate private CAs (TLS-inspecting proxies) failed despite the comment claiming rustls-native-certs and DESIGN s5.8.7 wanting the OS trust store. Switched to "rustls-tls-native-roots" so rustls-native-certs is actually pulled (Cargo.lock now contains rustls-native-certs 0.8.4 + openssl-probe + schannel); updated the comment to match. cargo deny check stays green (advisories / bans / licenses / sources all ok with the new transitive deps). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CyiRqk2DVwmJjEu5gcD1m
1 parent 7c8bfe4 commit 27313d4

2 files changed

Lines changed: 46 additions & 14 deletions

File tree

Cargo.lock

Lines changed: 37 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,16 @@ rayon = "1.10"
4545
# I/O-free and holds only the trait surface.
4646
notify = "8"
4747
# M3 network-resilience layer (DESIGN s5.8): the HTTP client for the
48-
# three-probe topology + Drive traffic. rustls so we use the OS trust store
49-
# via rustls-native-certs (DESIGN s5.8.7). The DNS re-resolution probe
50-
# (DESIGN s5.8.1) uses `tokio::net::lookup_host`, not a resolver crate;
51-
# `hickory-resolver` was the optional s5.8.5 escalation and is not wired in V1
52-
# (dropped to clear RUSTSEC-2026-0119 in hickory-proto's name compression).
48+
# three-probe topology + Drive traffic. `rustls-tls-native-roots` (NOT the bare
49+
# `rustls-tls`, which bundles the webpki-roots Mozilla set) pulls
50+
# `rustls-native-certs` so we trust the OS / enterprise trust store - corporate
51+
# private CAs work behind a TLS-inspecting proxy (DESIGN s5.8.7, codex R-P2-2).
52+
# The DNS re-resolution probe (DESIGN s5.8.1) uses `tokio::net::lookup_host`,
53+
# not a resolver crate; `hickory-resolver` was the optional s5.8.5 escalation
54+
# and is not wired in V1 (dropped to clear RUSTSEC-2026-0119 in hickory-proto's
55+
# name compression).
5356
reqwest = { version = "0.12", default-features = false, features = [
54-
"rustls-tls",
57+
"rustls-tls-native-roots",
5558
"http2",
5659
"stream",
5760
] }

0 commit comments

Comments
 (0)