Documentation ¶
Index ¶
Constants ¶
View Source
const SelfSignedCertificateIssuer = "smplatform self-signed"
SelfSignedCertificateIssuer is the organization that issues self-signed certificates
Variables ¶
This section is empty.
Functions ¶
func GenerateCertificate ¶
GenerateCertificate generates a new self-signed TLS certificate (with a RSA 4096-bit key) and returns the private key and public certificate encoded as PEM The first domain is the primary one, used as value for the "Common Name" value too Each certificate is valid for 1 year
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.