Add some details to the "certificate not valid" debug messages

This commit is contained in:
Frank Denis 2019-10-01 08:02:27 +02:00
parent 2c16bc4eaf
commit 2b23d7ae24
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func FetchCurrentDNSCryptCert(proxy *Proxy, serverName *string, proto string, pk
}
if !proxy.certIgnoreTimestamp {
if now > tsEnd || now < tsBegin {
dlog.Debugf("[%v] Certificate not valid at the current date", providerName)
dlog.Debugf("[%v] Certificate not valid at the current date (now: %v is not in [%v..%v])", providerName, now, tsBegin, tsEnd)
continue
}
}