Skip to content

Conversation

aarongable
Copy link
Contributor

@aarongable aarongable commented Oct 2, 2025

This is a reland of #8402
This is a revert of #8426

In the SA, change the implementation of GetRevocationStatus to read from the revokedCertificates table instead of reading from the certificateStatus table.

In the WFE, switch to calling GetRevocationStatus when computing ARI windows. Similarly, in the RA, make the same switch when checking if a to-be-revoked certificate is already revoked.

Across all three locations, use new core constants to represent "good" and "revoked", to avoid references to OCSP and unwieldy string/int conversions.

This paves the way for removing sa.GetCertificateStatus, which now has only one remaining caller which is not quite so easily changed.

Part of #8322
IN-11835 tracks the corresponding production config changes


Warning

Do not merge before #8427
Do not merge before IN-11835 is complete

Base automatically changed from revoked-serial-index to main October 2, 2025 23:46
In the SA, change the implementation of GetRevocationStatus to read from
the revokedCertificates table instead of reading from the
certificateStatus table.

In the WFE, switch to calling GetRevocationStatus when computing ARI
windows. Similarly, in the RA, make the same switch when checking if a
to-be-revoked certificate is already revoked.

Across all three locations, use new core constants to represent "good"
and "revoked", to avoid references to OCSP and unwieldy string/int
conversions.

This paves the way for removing sa.GetCertificateStatus, which now has
only one remaining caller which is not quite so easily changed.

Part of #8322

(cherry picked from commit a5cf372)
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.

1 participant