mkcert

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: CC0-1.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertificate

func GetCertificate(cl *tls.ClientHelloInfo) (*tls.Certificate, error)

GetCertificate creates a new certificate valid for the name cl.ServerName, using the local CA loaded in memory by init

GetCertificate is derived from the method makeCert at https://github.com/FiloSottile/mkcert/blob/master/cert.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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