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.
pub fn load_tls_config(
cert_path: &Path,
key_path: &Path,
) -> Result<ServerConfig>Load a rustls ServerConfig from PEM-encoded cert and key files.