Function actix_tls::connect::rustls_0_21::native_roots_cert_store

source ยท
pub fn native_roots_cert_store() -> Result<RootCertStore>
Available on crate feature connect and (crate features rustls-0_21-webpki-roots or rustls-0_21-native-roots) and crate feature rustls-0_21-native-roots only.
Expand description

Returns root certificates via rustls-native-certs crate as a rustls certificate store.

See rustls_native_certs::load_native_certs() for more info on behavior and errors.