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.
Click to show internal directories.
Click to hide internal directories.