Open chriskilding opened 2 years ago
This one is thankfully easy: rustls-native-certs is the library that does this.
Due to Rust's position in the ecosystem as a modern, cross-platform systems language, rustls-native-certs is also the basis of native TLS certificate verification in some higher-level languages (e.g. Deno, Node).
In time we hope to see this become a standard part of Rust installations in some form so that it's even easier to use. Perhaps available through a CLI option (as Deno has done).
Tracking support for native TLS certificate verification in Rust.