Skip to main content

client_config_with_ca

Function client_config_with_ca 

Source
pub fn client_config_with_ca(
    ca_file: &str,
) -> Result<Arc<ClientConfig>, HttpError>
Expand description

Build a rustls::ClientConfig that trusts a custom PEM CA certificate file in addition to the Mozilla roots.