[][src]Function casper_node::tls::generate_node_cert

pub fn generate_node_cert() -> Result<(X509, PKey<Private>), ErrorStack>

Generates a self-signed (key, certificate) pair suitable for TLS and signing.

The common name of the certificate will be "casper-node".