load_tls_acceptor

Function load_tls_acceptor 

Source
pub fn load_tls_acceptor(config: &HttpTlsConfig) -> Result<TlsAcceptor>
Expand description

Load TLS acceptor from certificate and key files

This function loads server certificates and private keys from PEM files and creates a TLS acceptor for use with the HTTP server.

For mutual TLS (mTLS), provide a CA certificate file via ca_file.