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

Consider a process default server certificate verifier #1821

Open
1 task done
djc opened this issue Feb 29, 2024 · 1 comment
Open
1 task done

Consider a process default server certificate verifier #1821

djc opened this issue Feb 29, 2024 · 1 comment

Comments

@djc
Copy link
Member

djc commented Feb 29, 2024

Checklist

  • I've searched the issue tracker for similar requests

Is your feature request related to a problem? Please describe.

There is currently a proliferation of Cargo features in downstream libraries to determine the set of trusted roots using webpki-roots and rustls-native-certs. We've recently also added the rustls-platform-verifier option, which will probably make this worse (before it potentially eventually makes things better?).

Describe the solution you'd like

Given that we now have the process default method for crypto providers, perhaps it could make sense to do something similar for the server certificate verifier? It seems likely to me that processes would like to use the same server certificate verification across all uses of rustls clients.

@joshtriplett
Copy link
Contributor

joshtriplett commented Mar 11, 2024

I'd love to see this happen, so that people can set policy in one place, and not continuously chase down random crates that have their own (varying) policies.

I've spent a lot of time sending PRs to projects that hardcode the use of rustls-native-certs, trying to add Cargo features and code branches. :)

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

No branches or pull requests

2 participants