Skip to main content

load_server_config

Function load_server_config 

Source
pub fn load_server_config(
    cert_path: impl AsRef<Path>,
    key_path: impl AsRef<Path>,
) -> Result<Arc<ServerConfig>, String>
Expand description

Load a rustls ServerConfig from operator-supplied PEM cert + key paths.