Merge pull request #1230 from munnerz/clear-url-on-reverify
Clear issuer account URL if the directory and account URL's hosts differ
This commit is contained in:
commit
e2e2b5998f
@ -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