Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

seanmonstar
Copy link
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
33 checks passed
@seanmonstar seanmonstar deleted the tls-specific-roots branch April 1, 2024 21:00
cxw620 pushed a commit to cxw620/lib_reqwest that referenced this pull request Apr 11, 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