1
0
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:
Romain 2021-10-06 11:31:17 +02:00 committed by GitHub
parent 9022382953
commit e9b0b5247b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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