Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertManager ¶
type CertManager struct {
// contains filtered or unexported fields
}
CertManager holds certificates from filesystem watched for changes
func (*CertManager) GetCertificateAuthorities ¶
func (a *CertManager) GetCertificateAuthorities() *x509.CertPool
GetCertificateAuthorities returns certificates authorities
func (*CertManager) GetClientTLSConfig ¶
func (a *CertManager) GetClientTLSConfig() *tls.Config
GetClientTLSConfig returns tls configuration for clients
func (*CertManager) GetServerTLSConfig ¶
func (a *CertManager) GetServerTLSConfig() *tls.Config
GetServerTLSConfig returns tls configuration for servers
type Config ¶
type Config struct { CAPool string `yaml:"caPool" json:"caPool" description:"file path to the root certificates in PEM format"` KeyFile string `yaml:"keyFile" json:"keyFile" description:"file name of private key in PEM format"` CertFile string `yaml:"certFile" json:"certFile" description:"file name of certificate in PEM format"` ClientCertificateRequired bool `yaml:"clientCertificateRequired" json:"clientCertificateRequired" description:"require client certificate"` UseSystemCAPool bool `yaml:"useSystemCAPool" json:"useSystemCaPool" description:"use system certification pool"` }
Config provides configuration of a file based Server Certificate manager
Click to show internal directories.
Click to hide internal directories.