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:
jetstack-bot 2019-01-17 15:28:12 +00:00 committed by GitHub
commit e2e2b5998f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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