mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
24 lines
715 B
Diff
24 lines
715 B
Diff
diff --git a/cmd/ceremony/crl.go b/cmd/ceremony/crl.go
|
|
index cde31023d..ab5d30aff 100644
|
|
--- a/cmd/ceremony/crl.go
|
|
+++ b/cmd/ceremony/crl.go
|
|
@@ -7,6 +7,7 @@ import (
|
|
"errors"
|
|
"fmt"
|
|
"math/big"
|
|
+ "slices"
|
|
"time"
|
|
|
|
"github.com/letsencrypt/boulder/crl/idp"
|
|
@@ -42,6 +43,10 @@ func generateCRL(signer crypto.Signer, issuer *x509.Certificate, thisUpdate, nex
|
|
}
|
|
template.ExtraExtensions = append(template.ExtraExtensions, *idp)
|
|
|
|
+ if !slices.Contains(skipLints, "e_crl_next_update_invalid") {
|
|
+ skipLints = append(skipLints, "e_crl_next_update_invalid")
|
|
+ }
|
|
+
|
|
err = linter.CheckCRL(template, issuer, signer, skipLints)
|
|
if err != nil {
|
|
return nil, fmt.Errorf("crl failed pre-issuance lint: %w", err)
|