Skip to main content

make_tls_rustls

Function make_tls_rustls 

Source
pub fn make_tls_rustls(config: &Config) -> Result<MakeRustlsConnect, TlsError>
Expand description

Creates a rustls TLS connector for the given Config, verifying the server as make_tls does for each sslmode.

The connector always uses the aws-lc-rs provider, independent of any process-default rustls provider.