Function self_signed_server_auth_gen_cert
pub fn self_signed_server_auth_gen_cert(
data: &SelfSignedData,
ca_cert: &X509,
ca_privkey: &PKey<Private>,
) -> Result<(X509, PKey<Private>), OpaqueError>Available on (crate features
rustls or boring or acme) and crate feature boring only.Expand description
Generate a server cert for the SelfSignedData using the given CA Cert + Key.
In most cases you probably want more refined configuration and controls, so in general we recommend to not use this utility outside of experimental or testing purposes.