Skip to main content

tls_config

Function tls_config 

Source
pub fn tls_config(
    certificate: &Path,
    key: &Path,
) -> Result<Arc<ServerConfig>, TlsError>
Expand description

The server’s TLS configuration from a PEM certificate chain and a PEM private key.