certs

package
v0.0.0-...-59b4e17 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSelfSigned

func GenerateSelfSigned(tlsStore string) (string, string, error)

GenerateSelfSigned will generate a new, self-signed cert in memory and return the location on disk for the key and cert

func ParseKeyPair

func ParseKeyPair(keyFile string, certFile string) error

ParseKeyPair will parse a key and cert from the filesystem and return an error or nil to determine if it validates

Types

This section is empty.

Jump to

Keyboard shortcuts

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