mirror of
https://github.com/go-acme/lego.git
synced 2024-12-26 03:09:37 +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{
|
query := ObtainRequest{
|
||||||
Domains: certcrypto.ExtractDomains(x509Cert),
|
Domains: certcrypto.ExtractDomains(x509Cert),
|
||||||
Bundle: bundle,
|
Bundle: bundle,
|
||||||
PrivateKey: privateKey,
|
PrivateKey: privateKey,
|
||||||
MustStaple: mustStaple,
|
MustStaple: mustStaple,
|
||||||
|
PreferredChain: preferredChain,
|
||||||
}
|
}
|
||||||
return c.Obtain(query)
|
return c.Obtain(query)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user