/tls/ -- add ValidCert, without it being true https is not usable

This commit is contained in:
Eugene Bujak
2019-02-19 15:21:19 +03:00
parent 2748d4c889
commit ba103f9825
2 changed files with 3 additions and 3 deletions

View File

@@ -75,6 +75,7 @@ type tlsConfigSettings struct {
// field ordering is not important -- these are for API and are recalculated on each run
type tlsConfigStatus struct {
// certificate status
ValidCert bool `yaml:"-" json:"valid_cert"`
ValidChain bool `yaml:"-" json:"valid_chain"`
Subject string `yaml:"-" json:"subject,omitempty"`
Issuer string `yaml:"-" json:"issuer,omitempty"`