Skip to main content

server_tls

Function server_tls 

Source
pub fn server_tls(
    cert_pem: &Path,
    key_pem: &Path,
) -> Result<ServerTlsConfig, Error>
Expand description

Builds a server TLS config from PEM cert/key files.

ยงErrors

Returns an error when either file cannot be read.