solana_streamer::tls_certificates

Function new_self_signed_tls_certificate

source
pub fn new_self_signed_tls_certificate(
    keypair: &Keypair,
    san: IpAddr,
) -> Result<(Certificate, PrivateKey), RcgenError>