pub fn load_tls_server_config(
cert_path: &str,
key_path: &str,
) -> Result<ServerConfig, Box<dyn Error>>Expand description
Loads the TLS configuration from the files and returns a ServerConfig.
The files should be structured as follows: cert.pem: The certificate file. key.pem: The private key file.