tlsutil

package
v0.51.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCertificate

func LoadCertificate(keyFile, certFile, domain string) (tls.Certificate, error)

LoadCertificate loads a certificate given a private key and certificate PEM files. Only in case the associated domain is localhost and no files are specified a self signed certificate will be automatically generated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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