Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CACertificate []byte
CACertificate Certificate Authority certificate used by the proxy.
View Source
var CAKey []byte
CAKey Certificate Authority private key used by the proxy.
Functions ¶
func GetCertificate ¶
func GetCertificate(certPath, keyPath string) (tls.Certificate, error)
Loads the CA key pair from the provided paths, and falls back to the default key pair if paths are not provided.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.