We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9935819 commit 52a403aCopy full SHA for 52a403a
internal/gatewayapi/tls.go
@@ -129,7 +129,7 @@ func validateCrl(data []byte) error {
129
return fmt.Errorf("failed to parse CRL: %w", err)
130
}
131
now := time.Now()
132
- if now.After(crl.NextUpdate) {
+ if !crl.NextUpdate.IsZero() && now.After(crl.NextUpdate) {
133
return fmt.Errorf("CRL is expired (next update was due at %v)", crl.NextUpdate)
134
135
if now.Before(crl.ThisUpdate) {
0 commit comments