From ebdd8aeb42d1264cc50afb95f14647674a8db77f Mon Sep 17 00:00:00 2001 From: Philipp Mieden Date: Sat, 28 Sep 2019 18:16:34 +0200 Subject: [PATCH] added another debug when the domains dont match --- local.go | 1 + 1 file changed, 1 insertion(+) diff --git a/local.go b/local.go index d3d55e1..72c8a36 100644 --- a/local.go +++ b/local.go @@ -127,6 +127,7 @@ func domainsChanged(certFilePath, keyFilePath string) bool { // compare each entry for i, d := range cert.DNSNames { if d != c.Domains[i] { + log.Println("cert.DNSNames:", cert.DNSNames, "!=", "c.Domains:", c.Domains) return true } }