Skip to content

ra: send certificate NotAfter to SA.RevokeCertificate - #9202

Open
jsha wants to merge 1 commit into
mainfrom
revoke-with-notafter
Open

jsha wants to merge 1 commit into
mainfrom
revoke-with-notafter

Conversation

@jsha

@jsha jsha commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

When the SA writes to the revokedCertificates table, it needs to know when the certificate expires (so it can be omitted from CRLs). Right now, the SA figures this out by querying the serials table. However, this table doesn't exist for MTCs, and the query is redundant anyhow: all call sites for SA.RevokeCertificate have the NotAfter field available.

This just adds the field and starts sending it from the RA. A followup change, to rely on the field, will have to wait until this has been deployed.

Note: this is useful even if we decide to have a separate SA.RevokeMTC (which doesn't rely on the certificateStatus table), since (a) it saves us a query, and (b) if we do SA.RevokeMTC, we'll probably want to take the same input message, and it's good to provide the same fields in both paths.

Part of #9200

When the SA writes to the `revokedCertificates` table, it needs to know when the
certificate expires (so it can be omitted from CRLs). Right now, the SA figures
this out by querying the `serials` table. However, this table doesn't exist for
MTCs, and the query is redundant anyhow: all call sites for
`SA.RevokeCertificate` have the NotAfter field available.

This just adds the field and starts sending it from the RA. A followup change,
to rely on the field, will have to wait until this has been deployed.
@jsha
jsha marked this pull request as ready for review December 1, 2026 23:13
@jsha
jsha requested a review from a team as a code owner December 1, 2026 23:13
@jsha
jsha requested a review from beautifulentropy December 1, 2026 23:13
@jsha
jsha added this pull request to stack #9204 December 1, 2026 23:40
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.

2 participants