pub async fn load_rustls_config(
cert_pem: impl AsRef<Path>,
key_pem: impl AsRef<Path>,
) -> Result<RustlsConfig>Expand description
Loads a TLS server config from a PEM-encoded certificate + private key pair on disk. This is the path for real deployments.