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

Return error when OCSP signing fails. #4466

Merged
merged 7 commits into from Oct 10, 2019
Merged

Return error when OCSP signing fails. #4466

merged 7 commits into from Oct 10, 2019

Conversation

jsha
Copy link
Contributor

@jsha jsha commented Oct 4, 2019

Since OCSP signing happens before precertificate signing, it is simpler
and safer to consider the issuance a failure if OCSP signing fails than to
continue with signing the precertificate and try to sign OCSP later.

Fixes #4429

In the process, rename generateOCSPAndStoreCertificate to just
storeCertificate, because that function doesn't generate OCSP anymore;
instead the OCSP is generated (and stored) at precertificate issuance
time.
This is a very rare case but it ensures we do not go on to issue a
precertificate if we won't have an OCSP response ready for it.
@jsha jsha requested a review from a team as a code owner October 4, 2019 23:21
Copy link
Contributor

@cpu cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cpu cpu merged commit 3cfec7c into master Oct 10, 2019
@cpu cpu deleted the ocsp-fail-stops-issuances branch October 10, 2019 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Treat OCSP signing failure like other failures
3 participants