Hi all,

I've picked up the pen again on revocation reasons and CRL reason codes, 
and I'd like to restart the discussion.

Some of you may recall that in 2024 I was looking at ways to improve the 
signal that relying parties obtain from CRL reason codes and examining 
potential improvements to Sections 4.9.1.1 and 7.2.2. You might also recall 
my October 2024 F2F presentation 
<https://cabforum.org/2024/10/08/minutes-of-the-f2f-63-meeting-in-seattle-wa-usa-october-8-10-2024/5-October-2024-Mozilla-News.pdf>
 
showing the varied use of revocation reason codes among CA operators. I 
continued working on this through part of 2025, before shifting my 
attention to the handling of mass revocation events.

As I've come back to this work, I think we should approach the problem from 
a somewhat different direction. Rather than starting by attempting to 
repurpose or reassign CRL reason codes, I think we should first identify 
and clarify the underlying circumstances that require revocation. We can 
then consider whether the CRL reason codes assigned to those circumstances 
accurately communicate why the certificates were revoked.

One principle that I think deserves particular attention is that a CRL 
reason code should describe the underlying circumstance requiring 
revocation, rather than the corrective or administrative action taken in 
response to that circumstance. Replacing a certificate, for example, does 
not necessarily mean that “superseded” describes why it was revoked. If the 
underlying circumstance is key compromise, unauthorized issuance, or a 
validation failure, the reason code should communicate that circumstance 
rather than the fact that the CA subsequently revoked and replaced the 
certificate.

Similarly, almost any certificate that was not properly issued could 
potentially be characterized as "not issued in accordance with these 
Requirements" under §4.9.1.1(12). But that general characterization should 
not obscure a more specific underlying revocation circumstance elsewhere in 
§4.9.1.1.

This leads me to think there are really two related issues that we should 
examine separately:

*1. Revocation Reasons (§4.9.1.1)*

We should revisit the circumstances requiring revocation and consider 
questions such as:

   1. Are the circumstances requiring revocation clearly and precisely 
   defined, such that different CAs presented with the same facts would 
   identify the same applicable subsection of §4.9.1.1?
   2. Could overlapping or duplicative circumstances be consolidated, or 
   conversely, could materially different revocation circumstances be more 
   clearly separated?
   3. Should we establish a general rule that the most specific applicable 
   revocation circumstance takes precedence over a more general or residual 
   circumstance? Similarly, should the BR and CP/CPS noncompliance provisions 
   be treated as residual provisions that apply only when no more specific 
   circumstance applies?
   4. Are failures involving key security, validation, authorization, 
   misuse, certificate information, and technical or policy conformity 
   adequately differentiated?
   5. Does each circumstance describe why the certificate can no longer be 
   relied upon or otherwise must be revoked, rather than describing the 
   remediation or administrative action taken afterward?
   6. Should CP/CPS requirements that are additional to or stricter than 
   the Baseline Requirements continue to be treated identically to violations 
   of the Baseline Requirements themselves, or should they be addressed 
   separately?
   7. Are the current 24-hour and 5-day groupings appropriately aligned 
   with the circumstances they contain, or has experience shown that some 
   circumstances warrant different treatment?
   8. Would explanatory guidance, examples, or a decision tree help CAs 
   apply §4.9.1.1 more consistently while keeping the normative requirements 
   concise?

*2. CRL Reason Codes (§7.2.2 / RFC 5280)*

Once the applicable revocation circumstance has been identified, does the 
required CRLReason accurately and consistently communicate that 
circumstance?

I think separating these two questions may help us make progress on some of 
the issues that have made previous reason-code discussions difficult.

There also continues to be a practical consistency problem worth examining. 
See e.g. https://finiterealities.net/revocation-stats/.  Different CAs 
appear to use unspecified, superseded, cessationOfOperation, and other 
reason codes in quite different proportions. Some of that may reflect 
genuinely different certificate populations and Subscriber behavior, but 
some may reflect different interpretations of what the reason codes mean 
and when they should be used. If materially similar circumstances are being 
assigned different reason codes by different CAs, the usefulness of those 
reason codes as ecosystem signals is reduced.

Mozilla has a practical interest in improving this as well. More consistent 
revocation semantics could help CRLite (and potentially other future 
relying-party mechanisms) distinguish revocations that convey 
security-significant information from revocations that are primarily 
administrative, lifecycle, or conformity-related. This does not mean that 
the Baseline Requirements should define reason-code semantics around how 
Firefox or CRLite happen to process them today. Rather, we would like to 
improve the clarity and consistency of the underlying signals so that 
relying parties can make more meaningful use of them.

Before getting too far into proposed language, I'd be interested in hearing 
from CA operators, relying parties, auditors, and implementers who would be 
willing to help with this work. In particular, I think it would be useful 
to:

   - review the language of §4.9.1.1 for clarity and precision and identify 
   wording that could be simplified or clarified;
   - identify places where the current §4.9.1.1 circumstances overlap or 
   operate as catch-alls;
   - understand how CAs are actually selecting CRL reason codes today and 
   why their practices differ;
   - develop clearer principles for identifying the applicable revocation 
   circumstance and selecting the corresponding CRL reason code; and
   - review whether the existing §4.9.1.1-to-CRLReason mappings should be 
   adjusted.

My goal at this stage isn't to advocate for a particular view. I'd first 
like to see whether we can develop a shared understanding of what these 
signals are supposed to mean and make their use more consistent across the 
Web PKI.

If you're interested in helping work through this, please let me know or 
respond here with thoughts on the approach.

Thanks,

Ben

-- 
You received this message because you are subscribed to the Google Groups 
"Server Certificate WG (CA/B Forum)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/groups.cabforum.org/d/msgid/servercert-wg/b93f5adf-6a6c-4026-b064-2d3aef1f8c77n%40groups.cabforum.org.
  • [Servercert-w... 'Ben Wilson' via Server Certificate WG (CA/B Forum)
    • Re: [Ser... 'Chris Clements' via Server Certificate WG (CA/B Forum)
      • Re: ... 'Ben Wilson' via Server Certificate WG (CA/B Forum)
    • RE: [Ser... 'Roman Fischer' via Server Certificate WG (CA/B Forum)
      • Re: ... 'Wendy Brown - FDE-C' via Server Certificate WG (CA/B Forum)
        • ... 'Ben Wilson' via Server Certificate WG (CA/B Forum)
    • RE: [Ser... orca
      • Re: ... 'Ben Wilson' via Server Certificate WG (CA/B Forum)
        • ... 'Roman Fischer' via Server Certificate WG (CA/B Forum)
          • ... 'Ben Wilson' via Server Certificate WG (CA/B Forum)

Reply via email to