Skip to content

feat: allow fine-grained root certs for rustls#2232

Merged
seanmonstar merged 1 commit intomasterfrom
tls-specific-roots
Apr 1, 2024
Merged

feat: allow fine-grained root certs for rustls#2232
seanmonstar merged 1 commit intomasterfrom
tls-specific-roots

Conversation

@seanmonstar
Copy link
Copy Markdown
Owner

This adds two methods to ClientBuilder: tls_built_in_webpki_certs(bool) and tls_built_in_native_certs(bool). After disabling tls_built_in_root_certs(false), you can turn on just one set at runtime.

Closes #1848
Closes #1843

@seanmonstar seanmonstar merged commit b4c491a into master Apr 1, 2024
@seanmonstar seanmonstar deleted the tls-specific-roots branch April 1, 2024 21:00
Nutomic pushed a commit to Nutomic/reqwest that referenced this pull request Nov 7, 2024
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.

Only use webpki certs despite enabled rustls-tls-native-roots feature

1 participant