Documentation
¶
Overview ¶
Package gencert provides a quick and easy utility function for generating a self-signed server certificate and writing it to a temp directory on disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCert ¶
GenerateCert will generate a self-signed certificate and return the path to where the files can be loaded. If no error is returned a tls.crt and tls.key will be present in the path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.