rustls-native-certs 0.8.3

rustls-native-certs allows rustls to use the platform native certificate store
1
2
3
4
5
6
7
8
9
10
use crate::{CertPaths, CertificateResult};

pub fn load_native_certs() -> CertificateResult {
    let likely_locations = openssl_probe::probe();
    CertPaths {
        file: likely_locations.cert_file,
        dirs: likely_locations.cert_dir,
    }
    .load()
}