Skip to main content

Module tls

Module tls 

Source

Functionsยง

connect_tls_upstream
Connect to an upstream server over TLS and return the stream.
make_mtls_client_config
Create a client TLS config for mTLS (presents client cert, verifies server against CA).
make_mtls_server_config
Create a server TLS config that requires mTLS (client certificate verification).
make_tls_acceptor
Create a TlsAcceptor for the given domain using a dynamically generated certificate.