pub fn tls_config( certificate: &Path, key: &Path, ) -> Result<Arc<ServerConfig>, TlsError>
The server’s TLS configuration from a PEM certificate chain and a PEM private key.