Skip to main content

Module tls

Module tls 

Source

Functionsยง

client_config_with_ca
Build a rustls::ClientConfig that trusts a custom PEM CA certificate file in addition to the Mozilla roots.
default_client_config
Build a rustls::ClientConfig that trusts the Mozilla root CA bundle (via webpki-roots).
server_config
Load a rustls::ServerConfig from PEM certificate and key files.