minica

package
v0.0.0-...-895c899 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issuer

type Issuer struct {
	// contains filtered or unexported fields
}

Issuer encapsulates a CA context for TLS cert creation/signing

func GetIssuer

func GetIssuer(keyFile, certFile string) (*Issuer, error)

GetIssuer loads or creates a CA from a key/cert file pair on disk

func (Issuer) Sign

func (iss Issuer) Sign(domains []string, ipAddresses []string) (*tls.Certificate, error)

Sign uses an Issuer to create a new x509 certificat/key pair for hosting TLS content

Jump to

Keyboard shortcuts

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