amend certificate removal message

This commit is contained in:
Shelikhoo 2021-06-04 20:07:27 +01:00
parent 6d9c463b60
commit e98865a205
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func getGetCertificateFunc(c *tls.Config, ca []*Certificate) func(hello *tls.Cli
newCerts = append(newCerts, cert)
} else if cert.Leaf != nil {
expTime := cert.Leaf.NotAfter.Format(time.RFC3339)
newError("old certificate for ", domain, " (expire on ", expTime, ") revoked").AtInfo().WriteToLog()
newError("old certificate for ", domain, " (expire on ", expTime, ") discard").AtInfo().WriteToLog()
}
}