增加证书OCSP错误日志管理

This commit is contained in:
刘祥超
2022-03-11 20:27:57 +08:00
parent 25061495d0
commit 9d859f3c27
5 changed files with 964 additions and 154 deletions
@@ -30,7 +30,8 @@ type SSLCertConfig struct {
CommonNames []string `yaml:"commonNames" json:"commonNames"`
// OCSP
OCSP []byte `yaml:"ocsp" json:"ocsp"`
OCSP []byte `yaml:"ocsp" json:"ocsp"`
OCSPError string `yaml:"ocspError" json:"ocspError"`
cert *tls.Certificate
timeBegin time.Time