zmap / zlint

X.509 Certificate Linter focused on Web PKI standards and requirements.
https://zmap.io
Apache License 2.0
361 stars 110 forks source link

Fix old lint checking that an OCSP URL is present in TLS Server certificates: add ineffective date #871

Closed defacto64 closed 3 months ago

defacto64 commented 3 months ago

For several years it has been mandatory to include an OSCP URL in the AIA extension of TLS Server certificates, and Zlint approprietely includes a lint (e_sub_cert_aia_does_not_contain_ocsp_url) to check that such requirement is met.

The requirement was later removed, with the advent of CABF BRs 2.0, but that lint has not been updated since. This PR introduces a tiny change to that lint to prevent it from complaining about a missing OCSP URL in certificates issued after 9/15/2023.