From 68568b7dedade964f7757ee0be19b58ff8f887c1 Mon Sep 17 00:00:00 2001 From: Danek Duvall Date: Fri, 25 Jan 2019 16:11:45 -0800 Subject: [PATCH] Log wildcard domain correctly in validation (#773) --- challenge/dns01/dns_challenge.go | 2 +- challenge/http01/http_challenge.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/challenge/dns01/dns_challenge.go b/challenge/dns01/dns_challenge.go index c9ef2ee3..b780d8f2 100644 --- a/challenge/dns01/dns_challenge.go +++ b/challenge/dns01/dns_challenge.go @@ -135,7 +135,7 @@ func (c *Challenge) Solve(authz acme.Authorization) error { } chlng.KeyAuthorization = keyAuth - return c.validate(c.core, authz.Identifier.Value, chlng) + return c.validate(c.core, domain, chlng) } // CleanUp cleans the challenge. diff --git a/challenge/http01/http_challenge.go b/challenge/http01/http_challenge.go index 4176ecae..861bdbed 100644 --- a/challenge/http01/http_challenge.go +++ b/challenge/http01/http_challenge.go @@ -61,5 +61,5 @@ func (c *Challenge) Solve(authz acme.Authorization) error { }() chlng.KeyAuthorization = keyAuth - return c.validate(c.core, authz.Identifier.Value, chlng) + return c.validate(c.core, domain, chlng) }