Skip to main content

Module tls

Module tls 

Expand description

TLS and mutual TLS (mTLS) support for the gateway server.

Functionsยง

build_server_config
Build a [rustls::ServerConfig] from the gateway TLS configuration.
build_tls_acceptor
Build a [TlsAcceptor] from the gateway TLS configuration.
cert_sha256_fingerprint
Compute the SHA-256 fingerprint of a DER-encoded certificate.