Update pkg/controller/certificaterequests/acme/acme.go
Co-authored-by: Ashley Davis <SgtCoDFish@users.noreply.github.com> Signed-off-by: Jack Andersen <jandersen@plaid.com>
This commit is contained in:
parent
cd1d8a2788
commit
b5fe7ecdca
@ -236,7 +236,7 @@ func buildOrder(cr *v1.CertificateRequest, csr *x509.CertificateRequest, enableD
|
||||
hashObj = computeNameSpec
|
||||
if len(cr.Name) >= 52 {
|
||||
// Pass a unique struct for hashing so that names at or longer than 52 characters
|
||||
// receive a unique hash. Otherwise, orders will have truncated names with collided
|
||||
// receive a unique hash. Otherwise, orders will have truncated names with colliding
|
||||
// hashes, possibly leading to non-renewal.
|
||||
hashObj = struct {
|
||||
CRName string `json:"certificateRequestName"`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user