Skip to main content

tls_server_config

Function tls_server_config 

Source
pub fn tls_server_config(
    chain: &[u8],
    key: &[u8],
) -> Result<ServerConfig, String>
Expand description

The TLS configuration of a gateway that presents the certificate chain and key in the PEM texts chain and key, and asks for a client certificate it does not require.

ยงErrors

What is wrong with the PEM or the key, in words.