Function casper_node::tls::generate_node_cert [−][src]
pub fn generate_node_cert() -> Result<(X509, PKey<Private>), ErrorStack>
Expand description
Generates a self-signed (key, certificate) pair suitable for TLS and signing.
The common name of the certificate will be “casper-node”.