certificate

package
v0.0.0-...-c0fde58 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCertificate

func GenerateCertificate(host string) ([]byte, []byte)

GenerateCertificate generate certificate from host

func GetRootCA

func GetRootCA(certPath, certKeyPath string, isGenerateCert bool) *tls.Certificate

GetRootCA get root CA, if not found will create

Types

This section is empty.

Jump to

Keyboard shortcuts

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