Clear issuer account URL if the directory and account URL's hosts differ
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
parent
3767a6df23
commit
425f9c757a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user