tls/configure -- Backend implementation of parsing user certs
This commit is contained in:
committed by
Eugene Bujak
parent
3898309778
commit
3d3e0784ea
@@ -69,6 +69,11 @@ type tlsConfig struct {
|
||||
PortDNSOverTLS int `yaml:"port_dns_over_tls" json:"port_dns_over_tls,omitempty"`
|
||||
CertificateChain string `yaml:"certificate_chain" json:"certificate_chain"`
|
||||
PrivateKey string `yaml:"private_key" json:"private_key"`
|
||||
|
||||
// only for API, no need to be stored in config
|
||||
StatusCertificate string `yaml:"status_cert" json:"status_cert,omitempty"`
|
||||
StatusKey string `yaml:"status_key" json:"status_key,omitempty"`
|
||||
Warning string `yaml:"warning" json:"warning,omitempty"`
|
||||
}
|
||||
|
||||
// initialize to default values, will be changed later when reading config or parsing command line
|
||||
|
||||
Reference in New Issue
Block a user