Skip to content

Commit e9b0b52

Browse files
authored
fix: missing preferred chain param for renew request (#1502)
1 parent 9022382 commit e9b0b52

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

certificate/certificates.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,10 +435,11 @@ func (c *Certifier) Renew(certRes Resource, bundle, mustStaple bool, preferredCh
435435
}
436436

437437
query := ObtainRequest{
438-
Domains: certcrypto.ExtractDomains(x509Cert),
439-
Bundle: bundle,
440-
PrivateKey: privateKey,
441-
MustStaple: mustStaple,
438+
Domains: certcrypto.ExtractDomains(x509Cert),
439+
Bundle: bundle,
440+
PrivateKey: privateKey,
441+
MustStaple: mustStaple,
442+
PreferredChain: preferredChain,
442443
}
443444
return c.Obtain(query)
444445
}

0 commit comments

Comments
 (0)