cert

package
v0.0.0-...-40e59ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(organization, commonName, hosts string, duration time.Duration) (cert, key []byte, err error)

Generate a pair of keys. These keys can be loaded with cert, err = tls.LoadX509KeyPair("cert.pem", "key.pem")

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL