actix_tls::connect::rustls_0_22

Function native_roots_cert_store

source
pub fn native_roots_cert_store() -> Result<RootCertStore>
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.