From 425f9c757a285ad3c193824c502bb5272037e0df Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Thu, 17 Jan 2019 14:36:33 +0000 Subject: [PATCH] Clear issuer account URL if the directory and account URL's hosts differ Signed-off-by: James Munnelly --- pkg/issuer/acme/setup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/issuer/acme/setup.go b/pkg/issuer/acme/setup.go index 8235cd842..734a6d042 100644 --- a/pkg/issuer/acme/setup.go +++ b/pkg/issuer/acme/setup.go @@ -154,6 +154,7 @@ func (a *Acme) Setup(ctx context.Context) error { if parsedAccountURL.Host != parsedServerURL.Host { glog.Infof("ACME server URL host and ACME private key registration " + "host differ. Re-checking ACME account registration.") + a.issuer.GetStatus().ACMEStatus().URI = "" } // registerAccount will also verify the account exists if it already