Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateCertResult ¶
GenerateCertResult contains the public certificate and private key in pem format, along with a hex encoded sha fingerprint of the certificate
func GenerateCert ¶
func GenerateCert(options ...Option) (*GenerateCertResult, error)
GenerateCertWithConfig generates the self signed certificates with defaults needed to provide TLS connections to a service.
type Option ¶
type Option func(opts *certOptions)
Option assign configuration for automatic self signed cert generation
Click to show internal directories.
Click to hide internal directories.