pub fn load_rustls_config<P: AsRef<Path>>(
cert: P,
key: P,
) -> Result<ServerConfig>Available on crate features
rustls and utils only.Expand description
Load SSL certificate and key.
Only PKCS 8 private keys are supported (BEGIN PRIVATE KEY). The aws-lc-rs
provider is installed as the default rustls crypto provider.