From 7a03369d01617dae057a81792e8c7c3ea64fd4cb Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 12 Oct 2020 17:58:08 +0200 Subject: [PATCH] Debug log certificate TTL --- dnscrypt-proxy/dnscrypt_certs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dnscrypt-proxy/dnscrypt_certs.go b/dnscrypt-proxy/dnscrypt_certs.go index 83b2b020..70f3cbb8 100644 --- a/dnscrypt-proxy/dnscrypt_certs.go +++ b/dnscrypt-proxy/dnscrypt_certs.go @@ -104,6 +104,8 @@ func FetchCurrentDNSCryptCert(proxy *Proxy, serverName *string, proto string, pk dlog.Warnf("[%v] certificate is about to expire -- if you don't manage this server, tell the server operator about it", *serverName) } else if daysLeft <= 30 { dlog.Infof("[%v] certificate will expire in %d days", *serverName, daysLeft) + } else { + dlog.Debugf("[%v] certificate still valid for %d days", *serverName, daysLeft) } certInfo.ForwardSecurity = false } else {