selfsign

package
v0.0.0-...-fd92a24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelfSignCrt

func SelfSignCrt(config SelfSignConfig) (cert, key []byte, err error)

func WritePEM

func WritePEM(
	certPath, keyPath string,
	cert, key []byte,
) error

Types

type SelfSignConfig

type SelfSignConfig struct {
	Country,
	Organization,
	OrgUnit,
	StreetAddress,
	PostalCode,
	Locality,
	Province []string
	CommonName string

	IP    []net.IP
	DNS   []string
	Email []string
	URI   []*url.URL

	NotAfterDays int
}

Jump to

Keyboard shortcuts

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