icing / mod_md

Let's Encrypt (ACME) in Apache httpd
https://icing.github.io/mod_md/
Apache License 2.0
338 stars 27 forks source link

accept OCSP responses with no nextUpdate #327

Closed frasertweedale closed 12 months ago

frasertweedale commented 12 months ago

mod_md rejects OCSP response when nextUpdate field is not set. However, per RFC 6960 this is valid (in particular see section 4.2.2.1):

If nextUpdate is not set, the responder is indicating that newer
revocation information is available all the time.

Update mod_md to accept these responses. When !bnextup, set valid.end to valid.start plus 12 hours. mod_md will attempt to refresh the response at some earlier time, according to the MDStaplingRenewWindow setting.

Fixes: https://github.com/icing/mod_md/issues/326

icing commented 12 months ago

LGTM, thanks!