var NewCA = newCA
NewCA generates a CA certificate/key pair suitable for signing server keys for an environment with the given name. wrapper arount utils/cert#NewCA
var NewLeafKeyBits = 3072
NewLeafKeyBits is the number of bits used for the cert.NewLeaf call.
Fingerprint returns a human-readable SHA-256 fingerprint for a certificate stored in the PEM format. The returned fingerprint matches the output of: openssl x509 -noout -fingerprint -sha256 -inform pem -in cert.pem
NewDefaultServer generates a certificate/key pair suitable for use by a server, with an expiry time of 10 years.
NewServer generates a certificate/key pair suitable for use by a server.
Verify verifies that the given server certificate is valid with respect to the given CA certificate at the given time.