Expand description
TLS certificate and key loading for STARTTLS support.
The SMTP server upgrades plain-text connections to TLS via STARTTLS. This module reads PEM certificate chains and private keys from disk and builds the rustls configurations used by both the server listener and any outbound client connections.
Functionsยง
- ca_
cert_ path - Returns the default path to the CA certificate file used by the Mailsis infrastructure.
- load_
default_ ca_ cert - Loads the CA certificate from the default path.
- load_
tls_ client_ config - load_
tls_ client_ config_ cert - load_
tls_ server_ config - Loads the TLS configuration from the files and returns a ServerConfig.