Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateManager ¶
type CertificateManager struct {
// contains filtered or unexported fields
}
CertificateManager manages TLS certificates for the proxy
func NewCertificateManager ¶
func NewCertificateManager(config Config) (*CertificateManager, error)
NewCertificateManager creates a new certificate manager
func (*CertificateManager) SetupTLSAndWriteCACert ¶
func (cm *CertificateManager) SetupTLSAndWriteCACert() (*tls.Config, error)
SetupTLSAndWriteCACert sets up TLS config and writes CA certificate to file Returns the TLS config, CA cert path, and config directory
Click to show internal directories.
Click to hide internal directories.