Enable both native and webpki root certificates for rustls #66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
rustlsfeature only used bundled Mozilla certificates (webpki-roots), causing TLS failures behind Cloudflare WARP and corporate VPNs that inject custom root certificates.Changes
Cargo.toml: Updated
rustlsfeature to enable both certificate sources in reqwest:When both features are enabled, reqwest merges the certificate stores - system certs are used when present, bundled certs provide fallback for minimal environments.
Documentation: Updated lib.rs and README to reflect certificate handling behavior.
CHANGELOG.md: Added entry under
[Unreleased].Transitive Dependencies
Adds
rustls-native-certs(~10KB, pure Rust, no OpenSSL compilation).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
spaces.bgpkit.org/home/REDACTED/work/oneio/oneio/target/debug/deps/oneio-6acb0bfb7fd38451 /home/REDACTED/work/oneio/oneio/target/debug/deps/oneio-6acb0bfb7fd38451 /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.4bi11i425yxmykvdx3wi75j88.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.4wev8rmkxo40zdzc8sxrh708b.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.5kcjugaw756amicrjnu9rzkgw.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.6guoj8k7lx00l52icc1ijetnh.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.7dbuqhyvc4sui192r0pnalx6j.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.7gynp9ud3r6olvt5z3ikdlg1g.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.7yop2e9x1i9x3t7l8kju17x4c.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.94ctttq80eeeqetja66wcjnnj.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/ebc�� /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/ebcd52e9457b6221-v3_cpols.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/ebcd52e9457b6221-v3_crld.o 5.0/�� f/aws-lc-sys-0.3-I 5.0/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include f/aws-lc-sys-0.3-I f/aws-lc-sys-0.3ar f/aws-lc-sys-0.3cq f/aws-lc-sys-0.3/home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.0waiylnr430s09xj6y6tj90ev.0los7t4.rcgu.o f/aws-lc-sys-0.3/home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.121z90sqy6tiop6c4dg4ff75m.0los7t4.rcgu.o(dns block)/home/REDACTED/work/oneio/oneio/target/debug/deps/basic_integration-9f8b5e6b16e33696 /home/REDACTED/work/oneio/oneio/target/debug/deps/basic_integration-9f8b5e6b16e33696 /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.4bi11i425yxmykvdx3wi75j88.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.4wev8rmkxo40zdzc8sxrh708b.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.5kcjugaw756amicrjnu9rzkgw.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.6guoj8k7lx00l52icc1ijetnh.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.7dbuqhyvc4sui192r0pnalx6j.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.7gynp9ud3r6olvt5z3ikdlg1g.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.7yop2e9x1i9x3t7l8kju17x4c.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.94ctttq80eeeqetja66wcjnnj.0los7t4.rcgu.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/ebc�� /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/ebcd52e9457b6221-v3_cpols.o /home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/ebcd52e9457b6221-v3_crld.o 5.0/�� f/aws-lc-sys-0.3-I 5.0/aws-lc/third_party/s2n-bignum/s2n-bignum-imported/include f/aws-lc-sys-0.3-I f/aws-lc-sys-0.3ar f/aws-lc-sys-0.3cq f/aws-lc-sys-0.3/home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.0waiylnr430s09xj6y6tj90ev.0los7t4.rcgu.o f/aws-lc-sys-0.3/home/REDACTED/work/oneio/oneio/target/debug/build/aws-lc-sys-3ed36e0471c75026/out/home/REDACTED/work/oneio/oneio/target/debug/examples/progress_tracking-38c65a0faebc5301.121z90sqy6tiop6c4dg4ff75m.0los7t4.rcgu.o(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.