security

package
v0.0.0-...-4747e9d Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CrtPath string

CrtPath will be the path to the cert file for tls

View Source
var KeyPath string

KeyPath will be the path to the cert file for tls

Functions

func GenerateCertificate

func GenerateCertificate(cert x509.Certificate) (string, string, error)

GenerateCertificate for a given template

func GetCertificatePath

func GetCertificatePath() string

func GetKeyPath

func GetKeyPath() string

func LoadCertsFromEnvVariable

func LoadCertsFromEnvVariable(crtEnvVar string, keyEnvVar string) error

LoadCertsFromEnvVariable - Pull and Load SSL Certs for HTTPS..

Types

This section is empty.

Jump to

Keyboard shortcuts

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