tls

package
v8.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCaCrt

func GenerateCaCrt(config Config, crtpath, keypath string) error

func GenerateCrt

func GenerateCrt(config Config, cacrtfile, cakeyfile, crtfile, keyfile string) error

func GeneratePrivateKey

func GeneratePrivateKey() (key *ecdsa.PrivateKey)

Types

type Config

type Config struct {
	Country            []string
	OrganizationalUnit []string
	Organization       []string
	Locality           []string
	Province           []string
	StreetAddress      []string
	PostalCode         []string
	CommonName         string
	SerialNumber       string
	DNSNames           []string
	Years              int
}

Jump to

Keyboard shortcuts

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