RFC 9608
No Revocation Available for X.509 Public Key Certificates
RFC 9608: No Revocation Available for X.509 Public Key Certificates π
okay bestie, let's get into RFC 9608 π¦ It's from the Internet Engineering Task Force (IETF) and the request for comments number is 9608. It's a Standards Track document, so it's an actual official spec, not just an idea. Its ISSN is 2070-1721 and it's dated June 2024 π
The authors are R. Housley (Vigil Security), T. Okubo (DigiCert), and J. Mandel (AKAYLA, Inc.) π This one updates RFC 5280 (the big X.509 profile everyone relies on), so it's changing how that spec works, not replacing it π₯
Abstract β¨
X.509v3 public key certificates are profiled in RFC 5280 π Short-lived certificates are getting way more use on the Internet, and the Certification Authority (CA) that issues them doesn't publish revocation information, because the certificate lifespan is shorter than the time it takes to detect, report, and distribute revocation information π Meanwhile, some long-lived X.509v3 public key certificates never expire and are never revoked πΈ
So this spec defines the noRevAvail certificate extension, so a relying party can easily tell that the CA doesn't publish revocation info for a certificate. It also updates the certification path validation algorithm from RFC 5280 so revocation checking gets skipped whenever noRevAvail is present π
Status of This Memo π
This is an Internet Standards Track document π
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It went through public review and got approved for publication by the Internet Engineering Steering Group (IESG). More info on Internet Standards is in Section 2 of RFC 7841 π«Ά
Info about the current status of this document, any errata, and how to send feedback is at https://www.rfc-editor.org/info/rfc9608 β¨
Copyright Notice π
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved. π
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) as they're in effect on the date this document was published. Please read these carefully, because they describe your rights and restrictions for this document π Code components pulled out of this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions, and they come without warranty as described in the Revised BSD License π₯
Table of Contents π
1. Introduction
1.1. Terminology
1.2. ASN.1
1.3. History
2. The noRevAvail Certificate Extension
3. Other X.509 Certificate Extensions
4. Certification Path Validation
5. ASN.1 Module
6. Security Considerations
6.1. Short-Lived Certificates
6.2. Long-Lived Certificates
7. IANA Considerations
8. References
8.1. Normative References
8.2. Informative References
Acknowledgements
Authors' Addresses
1. Introduction π¦
okay so X.509v3 public key certificates [RFC5280] with short validity periods are having a moment on the Internet π For example, Automatic Certificate Management Environment (ACME) [RFC8555] gives you a straightforward way to get short-lived certificates β¨ A lot of the time, the CA doesn't make any revocation information available for short-lived certificates π That's because their validity period is shorter than the time it takes to detect, report, and distribute revocation information. So revoking a short-lived certificate used for authentication or key management is unnecessary and pointless π On the flip side, revoking a certificate tied to a long-lived signature, like document signing or code signing, tells you something important about when a compromise was discovered π₯
Some long-lived X.509v3 public key certificates never expire, and they're never revoked πΈ For example, a factory might include an IDevID certificate [IEEE802.1AR] to bind the factory-assigned device identity to a factory-installed public key π That identity might include the manufacturer, model, and serial number of the device, which never change π To show that a certificate has no well-defined expiration date, the notAfter date in the certificate validity period is set to "99991231235959Z" [RFC5280] π§
This spec defines the noRevAvail certificate extension so a relying party can easily figure out that the CA doesn't publish revocation info for the end-entity certificate π It also updates the certification path validation algorithm defined in [RFC5280] so revocation checking gets skipped when the noRevAvail certificate extension is present π
Note that the noRevAvail certificate extension does something similar to the ocsp-nocheck certificate extension [RFC6960] π But ocsp-nocheck is only meant to go in certificates issued to Online Certificate Status Protocol (OCSP) responders, whereas noRevAvail fits in any end-entity certificate where the CA won't publish revocation info π¦ To avoid messing up the OCSP ecosystem, implementers should not think of noRevAvail as a substitute for ocsp-nocheck π
ββοΈ However, noRevAvail could be included in certificates issued to OCSP responders alongside ocsp-nocheck π«Ά
1.1. Terminology π
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here π
1.2. ASN.1 π§
X.509 certificates are generated using ASN.1 [X.680], using the Basic Encoding Rules (BER) and the Distinguished Encoding Rules (DER) [X.690] β¨
1.3. History π°οΈ
Back in 1988, CCITT defined the X.509v1 certificate [X.509-1988] πΈ
In 1997, ITU-T defined the X.509v3 certificate and the attribute certificate [X.509-1997] π
In 1999, the IETF first profiled the X.509v3 certificate for use on the Internet [RFC2459] π
In 2000, ITU-T defined the noRevAvail certificate extension for use with attribute certificates [X.509-2000] π
In 2002, the IETF first profiled the attribute certificate for use on the Internet [RFC3281], and that profile included support for the noRevAvail certificate extension π
In 2019, ITU-T published an update to ITU-T Recommendation X.509 [X.509-2019] β
With short-lived certificates getting more use on the Internet, the recent Technical Corrigendum to ITU-T Recommendation X.509 [X.509-2019-TC2] lets the noRevAvail certificate extension be used with public key certificates as well as attribute certificates π₯
2. The noRevAvail Certificate Extension πΈ
The noRevAvail extension, defined in [X.509-2019-TC2], lets a CA indicate that no revocation information will be made available for this certificate β¨
This extension MUST NOT be present in CA public key certificates π«
Conforming CAs MUST include this extension in certificates for which no revocation information will be published. When it's present, conforming CAs MUST mark this extension as non-critical π
name id-ce-noRevAvail
OID { id-ce 56 }
syntax NULL (i.e. '0500'H is the DER encoding)
criticality MUST be FALSE
A relying party that doesn't understand this extension might be able to find a Certificate Revocation List (CRL) from the CA, but the CRL will never include an entry for the certificate containing this extension π
3. Other X.509 Certificate Extensions π
Certificates for CAs MUST NOT include the noRevAvail extension π« Certificates that include the noRevAvail extension MUST NOT include certificate extensions that point to CRL repositories or provide locations of OCSP responders π If the noRevAvail extension is present in a certificate, then:
- The certificate MUST NOT also include the basic constraints certificate extension with the
cABOOLEAN set to TRUE; see Section 4.2.1.9 of [RFC5280] π§± - The certificate MUST NOT also include the CRL Distribution Points certificate extension; see Section 4.2.1.13 of [RFC5280] π
- The certificate MUST NOT also include the Freshest CRL certificate extension; see Section 4.2.1.15 of [RFC5280] π«
- The Authority Information Access certificate extension, if present, MUST NOT include an
id-ad-ocspaccessMethod; see Section 4.2.2.1 of [RFC5280] π¦
If any of the above are violated in a certificate, then the relying party MUST consider the certificate invalid π
okay that's part 1 wrapped π Part 2 picks up at Section 4 (Certification Path Validation) and goes through the ASN.1 module, the Security Considerations (which are very serious, bestie π), IANA Considerations, the References, Acknowledgements, and Authors' Addresses π
Let me think about how to handle this request. The user wants me to continue the Gen Z rewrite of RFC 9608 for part 2. The text is from the security considerations onward. I need to keep every detail, keep BCP 14 keywords in caps exactly where they appear (MUST NOT in original? Let me check: "CA policies and practices MUST ensure" β yes, one MUST). No other key words in caps. Keep code blocks verbatim, including the table and the reference entries. Citations kept. Output only the document, no preamble.
Note the system prompt says never add facts. Keep the table in a code block. References must list all details. The Acknowledgements and Authors' Addresses should be kept complete.
Careful: the section numbering: "# 6. Security Considerations" becomes "# 6. Security Considerations β¨" with the number exact. Subsections "## 6.1. Short-Lived Certificates", "## 6.2. Long-Lived Certificates", "# 7. IANA Considerations", "# 8. References", "## 8.1. Normative References", "## 8.2. Informative References". Acknowledgements and Authors' Addresses have no numbers; I'll keep them as headings.
Within the ASN.1 or table, keep verbatim. Reference entries: put them as plain text lines? Could use fenced block for exact layout, but references are prose-ish; I should keep all details. Probably put them as "- " bullets with the full details, with the bracket tags in backticks. Keep URLs exact in backticks.
Note: "Section 5" reference inside IANA: keep "(see Section 5)".
Rewrite prose in voice. Avoid adding technical claims. Keep "Certificate Policy (CP)" and "Certification Practices Statement (CPS)".
Now write. Keep the text "It also limits" etc. Don't add new facts.
The rewritten text is long; go.# 6. Security Considerations πβ¨
Okay bestie, the security section is where we get serious, so let's gooo. The Security Considerations in [RFC5280] are relevant here too, so go read those as well π
When the noRevAvail certificate extension is included in a certificate, all revocation checking is bypassed. π¬ CA policies and practices MUST ensure that the noRevAvail certificate extension is included only when appropriate, because any misuse or misconfiguration could result in a relying party continuing to trust a revoked certificate. π When misuse is discovered, the only possible fix is revoking the CA. Yikes.
Some applications may depend on revocation information or assume it's available. π₯Ί If there isn't any revocation information, you may need to make changes or use alternative configuration settings so the application stays secure and actually works.
The absence of revocation information makes it harder for relying parties to detect compromised end-entity keying material or malicious certificates. π It also makes it harder for them to spot CAs that aren't following the security practices, certificate issuance policies, and operational controls specified in the Certificate Policy (CP) or the Certification Practices Statement (CPS) [RFC3647].
Since missing revocation info can make it harder to catch compromised keys or malicious certificates, relying parties need to feel confident that the CA is following good security practices, implementing its issuance policies, and using operational controls properly. π«Ά Relying parties can evaluate CA reliability, monitor CA performance, and check how CAs handle incident response.
6.1. Short-Lived Certificates β³
No revocation information is made available for short-lived certificates, because the validity period is shorter than the time it takes to detect, report, and distribute revocation information. β° But if the noRevAvail certificate extension gets used by mistake on a certificate whose validity period isn't short enough, it opens a window of opportunity for attackers to exploit a compromised private key. π± So it's crucial to carefully assess and set an appropriate certificate validity period before you implement the noRevAvail certificate extension. Main character energy: do the homework first. π
6.2. Long-Lived Certificates π
No revocation information is made available for some long-lived certificates that contain information that never changes. For example, IDevID certificates [IEEE802.1AR] are included in devices at the factory, and they are used to obtain LDevID certificates [IEEE802.1AR] in an operational environment. π In this case, cryptographic algorithms that are expected to remain secure for the expected lifetime of the device need to be chosen. π If the noRevAvail certificate extension is used, the CA has no means of notifying the relying party about compromise of the factory-installed keying material. Not ideal, not ideal. π
7. IANA Considerations π
IANA has assigned the following object identifier (OID) for the ASN.1 module (see Section 5) within the "SMI Security for PKIX Module Identifier" (1.3.6.1.5.5.7.0) registry: π§
+=========+===================+
| Decimal | Description |
+=========+===================+
| 110 | id-mod-noRevAvail |
+---------+-------------------+
Table 1
8. References ππ
8.1. Normative References π
[RFC2119]Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997,<https://www.rfc-editor.org/info/rfc2119>.[RFC5280]Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, DOI 10.17487/RFC5280, May 2008,<https://www.rfc-editor.org/info/rfc5280>.[RFC8174]Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017,<https://www.rfc-editor.org/info/rfc8174>.[X.509-2019-TC2]ITU-T, "Information Technology -- Open Systems Interconnection -- The Directory: Public-key and attribute certificate frameworks -- Technical Corrigendum 2", ITU-T Recommendation X.509-2019/Cor.2-2023, October 2023,<https://www.itu.int/rec/T-REC-X.509-202310-I!Cor2>.[X.680]ITU-T, "Information technology -- Abstract Syntax Notation One (ASN.1): Specification of basic notation", ITU-T Recommendation X.680, ISO/IEC 8824-1:2021, February 2021,<https://www.itu.int/rec/T-REC-X.680>.[X.690]ITU-T, "Information technology -- ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)", ITU-T Recommendation X.690, ISO/IEC 8825-1-2021, February 2021,<https://www.itu.int/rec/T-REC-X.690>.
8.2. Informative References πΈ
[IEEE802.1AR]IEEE, "IEEE Standard for Local and Metropolitan Area Networks - Secure Device Identity", IEEE 802.1AR-2018, DOI 10.1109/IEEESTD.2018.8423794, 2 August 2018,<https://ieeexplore.ieee.org/document/8423794>.[RFC2459]Housley, R., Ford, W., Polk, W., and D. Solo, "Internet X.509 Public Key Infrastructure Certificate and CRL Profile", RFC 2459, DOI 10.17487/RFC2459, January 1999,<https://www.rfc-editor.org/info/rfc2459>.[RFC3281]Farrell, S. and R. Housley, "An Internet Attribute Certificate Profile for Authorization", RFC 3281, DOI 10.17487/RFC3281, April 2002,<https://www.rfc-editor.org/info/rfc3281>.[RFC3647]Chokhani, S., Ford, W., Sabett, R., Merrill, C., and S. Wu, "Internet X.509 Public Key Infrastructure Certificate Policy and Certification Practices Framework", RFC 3647, DOI 10.17487/RFC3647, November 2003,<https://www.rfc-editor.org/info/rfc3647>.[RFC5912]Hoffman, P. and J. Schaad, "New ASN.1 Modules for the Public Key Infrastructure Using X.509 (PKIX)", RFC 5912, DOI 10.17487/RFC5912, June 2010,<https://www.rfc-editor.org/info/rfc5912>.[RFC6268]Schaad, J. and S. Turner, "Additional New ASN.1 Modules for the Cryptographic Message Syntax (CMS) and the Public Key Infrastructure Using X.509 (PKIX)", RFC 6268, DOI 10.17487/RFC6268, July 2011,<https://www.rfc-editor.org/info/rfc6268>.[RFC6960]Santesson, S., Myers, M., Ankney, R., Malpani, A., Galperin, S., and C. Adams, "X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP", RFC 6960, DOI 10.17487/RFC6960, June 2013,<https://www.rfc-editor.org/info/rfc6960>.[RFC8555]Barnes, R., Hoffman-Andrews, J., McCarney, D., and J. Kasten, "Automatic Certificate Management Environment (ACME)", RFC 8555, DOI 10.17487/RFC8555, March 2019,<https://www.rfc-editor.org/info/rfc8555>.[X.509-1988]CCITT, "The Directory - Authentication Framework", CCITT Recommendation X.509-1988, November 1988,<https://www.itu.int/rec/T-REC-X.509-198811-S>.[X.509-1997]ITU-T, "Information technology -- Open Systems Interconnection -- The Directory: Authentication framework", ITU-T Recommendation X.509-1997, August 1997,<https://www.itu.int/rec/T-REC-X.509-199708-S>.[X.509-2000]ITU-T, "Information Technology -- Open Systems Interconnection -- The Directory: Public-key and attribute certificate frameworks", ITU-T Recommendation X.509-2000, March 2000,<https://www.itu.int/rec/T-REC-X.509-200003-S>.[X.509-2019]ITU-T, "Information Technology -- Open Systems Interconnection -- The Directory: Public-key and attribute certificate frameworks", ITU-T Recommendation X.509-2019, October 2019,<https://www.itu.int/rec/T-REC-X.509-201910-I>.
Acknowledgements π«Ά
Many thanks to Erik Anderson for his efforts to make the noRevAvail certificate extension available for use with public key end-entity certificates as well as attribute certificates. π
Many thanks to (in alphabetical order) Corey Bonnell, Hendrik Brockhaus, Tim Hollebeek, Mike Ounsworth, Seo Suchan, Carl Wallace, Γric Vyncke, and Paul Wouters for their review and insightful comments. π
Authors' Addresses β¨
Russ Housley Vigil Security, LLC Herndon, Virginia United States of America Email: housley@vigilsec.com
Tomofumi Okubo DigiCert, Inc. Fairfax, Virginia United States of America Email: tomofumi.okubo+ietf@gmail.com
Joseph Mandel AKAYLA, Inc. Tacoma, Washington United States of America Email: joe@akayla.com
That's the whole thing, bestie! π Revocation-free certs are powerful but only if you use them responsibly. π¦π
π¦ where this page comes from
- ietf: rfc9608 2024-06
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms