close
The Wayback Machine - https://web.archive.org/web/20201114141657/https://github.com/letsencrypt/boulder/issues/4338
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocsp: respond "unauthorized" for expired OCSP #4338

Closed
jsha opened this issue Jul 15, 2019 · 0 comments
Closed

ocsp: respond "unauthorized" for expired OCSP #4338

jsha opened this issue Jul 15, 2019 · 0 comments
Assignees

Comments

@jsha
Copy link
Contributor

@jsha jsha commented Jul 15, 2019

Right now we don't clean up expired OCSP responses from the database right away. That means that if someone queries OCSP after a certificate is expired, they might get an expired OCSP response. This is technically fine since there's no requirement to maintain OCSP responses for expired certificates, but has caused confusion at least once: https://community.letsencrypt.org/t/invalid-ocsp-response-nextupdate-is-in-the-past/95640/6.

It would be nice for our OCSP responded to check the expiration on responses, and respond with "unauthorized" right away, rather than waiting until those responses are cleaned up.

rolandshoemaker added a commit that referenced this issue Aug 1, 2019
The ocsp-updater ocspStaleMaxAge config var has to be bumped up to ~7 months so that when it is run after the six-months-ago run it will actually update the ocsp responses generated during that period and mark the certificate status row as expired.

Fixes #4338.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.