Skip to content

feat: enhance TLS support by merging Mozilla WebPKI roots with OS certificate store - #13

Merged
takeoverjp merged 2 commits into
mainfrom
11-corporate-internal-ca-certificates-not-trusted-rustls-tls-ignores-the-os-certificate-store
Jun 30, 2026
Merged

feat: enhance TLS support by merging Mozilla WebPKI roots with OS certificate store#13
takeoverjp merged 2 commits into
mainfrom
11-corporate-internal-ca-certificates-not-trusted-rustls-tls-ignores-the-os-certificate-store

Conversation

@takeoverjp

@takeoverjp takeoverjp commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Why

Fix #11

How

TLS trust anchors come from both:

  • the Mozilla WebPKI root set bundled at compile time
    (via the rustls-tls-webpki-roots feature), and
  • the host operating system certificate store loaded at runtime
    (via the rustls-tls-native-roots feature).

Enabling both features makes reqwest merge the two trust sets by
default, so the tool works out-of-the-box on minimal container images
that ship without a system CA bundle, while still honoring corporate
/ internal CAs trusted by the host (e.g. Windows certificate store,
macOS Keychain, Linux NSS / /etc/ssl/certs). No additional
ClientBuilder configuration is required.

Reference

@takeoverjp takeoverjp changed the title feat: enhance TLS support by merging Mozilla WebPKI roots with OS certificate store ( #11 ) feat: enhance TLS support by merging Mozilla WebPKI roots with OS certificate store Jun 30, 2026
…-ca-certificates-not-trusted-rustls-tls-ignores-the-os-certificate-store
@takeoverjp
takeoverjp merged commit 4607e1a into main Jun 30, 2026
6 checks passed
@takeoverjp
takeoverjp deleted the 11-corporate-internal-ca-certificates-not-trusted-rustls-tls-ignores-the-os-certificate-store branch June 30, 2026 21:29
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.

Corporate internal CA certificates not trusted: rustls-tls ignores the OS certificate store

1 participant