Skip to content

Commit

Permalink
fix: missing preferred chain param for renew request (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtribotte authored Oct 6, 2021
1 parent 9022382 commit e9b0b52
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions certificate/certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,11 @@ func (c *Certifier) Renew(certRes Resource, bundle, mustStaple bool, preferredCh
}

query := ObtainRequest{
Domains: certcrypto.ExtractDomains(x509Cert),
Bundle: bundle,
PrivateKey: privateKey,
MustStaple: mustStaple,
Domains: certcrypto.ExtractDomains(x509Cert),
Bundle: bundle,
PrivateKey: privateKey,
MustStaple: mustStaple,
PreferredChain: preferredChain,
}
return c.Obtain(query)
}
Expand Down

0 comments on commit e9b0b52

Please sign in to comment.