certs

package module
Version: v0.0.0-...-f822359 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCACert

func GenerateCACert(sslPath string)

GenerateCACert generates and saves a CA cert to cacert.pem and cacert.key

func GenerateClientCert

func GenerateClientCert(clientName, sslPath string) tls.Certificate

GenerateClientCert generates a client cert against a given CA

func GenerateServerCert

func GenerateServerCert(host, sslPath string) tls.Certificate

GenerateServerCert generates a server certificate against a given CA cert

func SaveClientCert

func SaveClientCert(hostname, sslPath string)

SaveClientCert generates and saves a client cert to disk

func SaveServerCert

func SaveServerCert(host, sslPath string)

SaveServerCert generates and saves a server cert

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL