Skip to main content

load_tls_config

Function load_tls_config 

Source
pub fn load_tls_config(
    cert_path: &Path,
    key_path: &Path,
) -> Result<ServerConfig>
Expand description

Load a rustls ServerConfig from PEM-encoded cert and key files.