rustls_native_certs/
unix.rs

1use crate::{CertPaths, CertificateResult};
2
3pub fn load_native_certs() -> CertificateResult {
4    let likely_locations = openssl_probe::probe();
5    CertPaths {
6        file: likely_locations.cert_file,
7        dirs: likely_locations
8            .cert_dir
9            .into_iter()
10            .collect(),
11    }
12    .load()
13}