mirror of
https://github.com/go-acme/lego.git
synced 2024-12-25 11:02:56 +02:00
fix: missing preferred chain param for renew request (#1502)
This commit is contained in:
parent
9022382953
commit
e9b0b5247b
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user