kumo_server_common::tls_helpers

Function make_server_config

source
pub async fn make_server_config(
    hostname: &str,
    tls_private_key: &Option<KeySource>,
    tls_certificate: &Option<KeySource>,
) -> Result<Arc<ServerConfig>>