Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certs ¶
type Certs struct {
Certificate []byte // cert.pem
Client []byte // client.pem
Key []byte // key.pem
CA []byte // ca_certificate.pem
// I don't think we need this, but I'm not sure
ServerCert *tls.Certificate
}
func GenerateCertificates ¶
Generate a self-signed X.509 certificate for a TLS server. Outputs to
Click to show internal directories.
Click to hide internal directories.