github.com/decred/dcrd/certgen (go): Package certgen includes a common base for creating a new TLS certificate key pair.  This package contains functions for creating self-signed TLS certificate from random new key pairs, typically used for encrypting RPC and websocket communications.  ECDSA certificates are supported on all Go versions.  Beginning with Go 1.13, this package additionally includes support for Ed25519 certificates.
Keywords: blockchain|cryptocurrency|dcrd|decred|decred-daemon|decred-nodes|go|golang|p2p|peer-to-peer