Skip to main content

server_crypto

Function server_crypto 

Source
pub fn server_crypto(config: &Config) -> Result<ServerConfig>
Expand description

Builds the rustls server configuration.

Called again on SIGHUP, which is how a renewed certificate is picked up: the files are re-read here and the result handed to Endpoint::set_server_config.