RFC 9811
Internet X.509 Public Key Infrastructure -- HTTP Transfer for the Certificate Management Protocol (CMP)
RFC 9811: Internet X.509 Public Key Infrastructure -- HTTP Transfer for the Certificate Management Protocol (CMP) ๐ฆ
okay bestie, let's get into this one ๐ it's an Internet Standards Track doc (category: Standards Track) from the IETF, dated July 2025, with ISSN 2070-1721. The authors are H. Brockhaus, D. von Oheimb (both at Siemens), M. Ounsworth, and J. Gray (both at Entrust) ๐ซถ
- It obsoletes: RFC 6712 and RFC 9480 ๐๏ธ
- It updates: RFC 6712, per the Abstract (the header doesn't list an update line)
Abstract
okay so the Abstract is short and sweet โจ this doc explains how to layer the Certificate Management Protocol (CMP) on top of HTTP ๐ธ
it also includes the updates to RFC 6712 from Section 3 of RFC 9480, and those updates bring in CMP URIs that start with a well-known prefix ๐ it obsoletes RFC 6712 ๐ and, together with RFC 9810, it also obsoletes RFC 9480 ๐
Status of This Memo
this is an Internet Standards Track document ๐ฆ
it's a product of the Internet Engineering Task Force (IETF), and 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) โ if you want more info on Internet Standards, check out Section 2 of RFC 7841 ๐ง
current status, errata, and how to send feedback live at https://www.rfc-editor.org/info/rfc9811 ๐
Copyright Notice
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved. ๐
this doc is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) as they stand on the publication date. please actually read those, bestie, they're your rights and restrictions ๐ and any Code Components pulled out of this doc have to include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions. they come with no warranty, as the Revised BSD License describes ๐ซถ
Table of Contents
1. Introduction
1.1. Changes Made by RFC 9480
1.2. Changes Made by This Document
2. Conventions Used in This Document
3. HTTP-Based Protocol
3.1. General Form
3.2. Media Type
3.3. Communication Workflow
3.4. HTTP Request-URI
3.5. Pushing of Announcements
4. Implementation Considerations
5. Security Considerations
6. IANA Considerations
7. References
7.1. Normative References
7.2. Informative References
Acknowledgements
Authors' Addresses
1. Introduction ๐ธ
okay so the Certificate Management Protocol (CMP) [RFC9810] needs a properly defined transfer mechanism ๐ so End Entities (EEs), Registration Authorities (RAs), and Certification Authorities (CAs) can pass PKIMessage structures back and forth โจ
the first version of the CMP spec [RFC2510] had a brief description of a simple transfer layer sitting on top of TCP ๐ its features were basic transfer-level error handling and a way to poll for outstanding PKI messages. it also mentioned that PKI messages could be carried over file, email, and HTTP transfer, but those weren't specified in detail ๐
then the second version of the CMP spec [RFC4210] built in its own polling mechanism, so the need for a transfer protocol that did that job basically vanished ๐ what CMP still needs from its transfer protocols is connection and error handling ๐ซถ
CMP can benefit from reliable transport, since it needs connection and error handling from the transfer protocol, and HTTP covers all of that ๐ฆ on top of that, delayed delivery of CMP response messages can be handled at the transfer level, no matter what's in the messages. and since [RFC9480] extends the polling mechanism from the second version of CMP [RFC4210] to cover every type of PKI management transaction, delays spotted at the application level can also be handled inside CMP, using pollReq and pollRep messages ๐ฅ
so the usage of HTTP (e.g., HTTP/1.1 as specified in [RFC9110] and [RFC9112]) for moving CMP messages only uses the POST method for requests, which basically means CMP gets tunneled over HTTP ๐ okay, honestly, this is generally considered bad practice (see RFC 9205 [BCP56] for best current practice on building protocols with HTTP), and you should not copy it ๐ but there are good reasons to do it for CMP anyway โจ HTTP is generally easy to implement, it can cross network borders thanks to ubiquitous proxies ๐ and most importantly, HTTP is already commonly used in existing CMP implementations ๐ other HTTP request methods like GET aren't used, because PKI management operations can only be triggered by CMP's PKI messages, and those have to travel in a POST request ๐ง
HTTP's status codes give it the error reporting it needs โญ general problems on the server side, plus problems caused directly by a specific request, can both be reported back to the client ๐
last thing: CMP implements a transaction identifier (transactionID), which lets it identify transactions that span more than one request/response pair. so HTTP being stateless isn't a blocker for using it as the transfer protocol for CMP messages ๐
1.1. Changes Made by RFC 9480 ๐ง
CMP Updates [RFC9480] updated Section 3.6 of [RFC6712] to support the PKI management operations from the Lightweight CMP Profile [RFC9483] ๐ธ the changes land in these areas:
- Introduced the HTTP URI path prefix '/.well-known/cmp'.
- Added options for extending the URI structure with further segments, and defined a new protocol registry group for that purpose ๐
1.2. Changes Made by This Document ๐
this document obsoletes [RFC6712] ๐ it includes the changes from Section 3 of [RFC9480], as described in Section 1.1 of this document. it also adds these changes:
- Removed the requirement to support HTTP/1.0 [RFC1945], in line with Section 4.1 of RFC 9205 [BCP56] ๐
- Implementations MUST forward CMP messages when an HTTP error status code occurs; see Section 3.1. ๐ฅ
- Removed Section 3.8 of [RFC6712], since it had info that's redundant with the current HTTP spec ๐๏ธ
2. Conventions Used in This Document ๐ฆ
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 read as described in BCP 14 [RFC2119] [RFC8174], but only when they appear in all capitals, exactly as shown here ๐ซถ
3. HTTP-Based Protocol ๐
for direct interaction between two entities, where a reliable transport protocol like TCP [RFC9293] is available, HTTP [RFC9110] SHOULD be used to carry CMP messages ๐ this spec requires the POST method (Section 3.1) and the "Content-Type" header field (Section 3.2), which have been around since HTTP/1.0 [RFC1945] โจ
Note: sometimes CMP needs multiple request/response pairs to get one PKI management operation done ๐งฉ those pairs are tied together by a transaction identifier in the CMP message header (see transactionID in Section 5.1.1 of [RFC9810]). for details on sending multiple requests, see Section 4.11 of RFC 9205 [BCP56] ๐
3.1. General Form ๐
a DER-encoded [ITU.X690.2021] PKIMessage (Section 5.1 of [RFC9810]) MUST be sent as the content of an HTTP POST request โจ if that HTTP request succeeds, the server sends the CMP response back in the content of the HTTP response. in this case the HTTP response status code MUST be 200 (OK), and other Successful 2xx status codes MUST NOT be used for this purpose ๐ โโ๏ธ HTTP responses to pushed CMP announcement messages (described in Section 3.5) use the status codes 201 and 202 to show whether the received info was processed ๐
redirection 3xx status codes MAY be supported by implementations, but clients should only be allowed to automatically follow them after careful thought about the possible security implications ๐ง as Section 5 explains, the 301 (Moved Permanently) status code could be misused for a permanent denial of service ๐
all applicable Client Error 4xx or Server Error 5xx status codes MAY be used to tell the client about errors ๐ฅ whenever a client gets an HTTP response with a status code in the 2xx, 4xx, or 5xx ranges, it MUST support handling response message content that contains a CMP response PKIMessage ๐
3.2. Media Type ๐ฆ
the Internet media type "application/pkixcmp" MUST be set in the HTTP "Content-Type" header field when a PKIMessage is being conveyed ๐ซถ
3.3. Communication Workflow ๐ธ
in CMP, most communication is started by the EEs, and every CMP request triggers a CMP response message from the CA or RA ๐
the CMP announcement messages described in Section 3.5 are the exception โจ their creation can be triggered by certain events, or a CA can send them on a regular basis ๐ง the recipient of an announcement only replies with an HTTP status code, either acknowledging receipt or flagging an error. it does not send back a CMP response ๐
if the receipt of an HTTP request is not confirmed by an HTTP response, it MUST be assumed that the transferred CMP message was not successfully delivered to its destination ๐ญ
3.4. HTTP Request-URI ๐
each CMP server on a PKI management entity that supports HTTP or HTTPS transfer MUST support the path prefix '/.well-known/' as defined in [RFC8615] along with the registered name 'cmp', so interworking in a multi-vendor environment is easier ๐
CMP clients have to be configured with enough info to form the CMP server URI ๐บ๏ธ at minimum that's the authority portion of the URI, e.g., 'www.example.com:80', or the full operation path segment of the PKI management entity. path segments MAY also be added after the registered application name, as part of the full operation path, to provide further distinction โจ the path segment 'p' followed by an arbitraryLabel <name> could, for example, support telling apart specific CAs or certificate profiles ๐ further path segments, such as the ones specified in the Lightweight CMP Profile [RFC9483], could indicate PKI management operations using an operationLabel <operation> ๐ฆ here's a list of examples of valid full CMP URIs:
http://www.example.com/.well-known/cmphttp://www.example.com/.well-known/cmp/<operation>http://www.example.com/.well-known/cmp/p/<name>http://www.example.com/.well-known/cmp/p/<name>/<operation>
note that https can also be used instead of http; see item 5 in the Security Considerations (Section 5) ๐ ๐
3.5. Pushing of Announcements โจ
okay bestie, so a CMP server can make event-triggered announcements or send them out on a regular schedule ๐ฎ and it MAY use HTTP transfer to deliver them to a suitable recipient ๐ฆ. In this setup the CMP server acts as the HTTP client, and the recipient has to run an HTTP server ๐ . There are no request messages defined for these announcements, so they can only be pushed to the recipient ๐ซถ.
If an EE wants to poll for a potential CA Key Update Announcement or the current Certificate Revocation List (CRL) ๐, it can use a PKI Information Request with a general message, as described in Appendix D.5 of [RFC9810] โจ.
When pushing announcement messages, PKIMessage structures MUST be sent as the content of an HTTP POST request ๐.
Suitable recipients for CMP announcements could be repositories that store the announced info, like directory services ๐๏ธ. Those services listen for incoming messages using the same HTTP Request-URI scheme we covered in Section 3.4 ๐ธ.
The following types of PKIMessage are announcements that may be pushed by a CA. The prefixed numbers reflect ASN.1 tags of the PKIBody structure (Section 5.1.2 of [RFC9810]) ๐ง.
[15] CA Key Update Announcement
[16] Certificate Announcement
[17] Revocation Announcement
[18] CRL Announcement
CMP announcement messages do not require any CMP response ๐. However, the recipient MUST acknowledge receipt with an HTTP response that has an appropriate status code and empty content ๐ซถ. If that response never shows up, it MUST be assumed that the delivery was not successful ๐ญ. If applicable, the sending side MAY try sending the announcement again after waiting for an appropriate time span ๐.
If the announced issue was successfully stored in a database or was already present, the answer MUST be an HTTP response with a 201 (Created) status code and empty content ๐.
In case the announced information was only accepted for further processing, the status code of the returned HTTP response MAY also be 202 (Accepted) โณ. After an appropriate delay, the sender may try to send the announcement again, and may repeat this until it gets a confirmation that it has been successfully processed ๐. The appropriate duration of the delay and the option to increase it between consecutive attempts should be carefully considered ๐ง .
A receiver MUST answer with a suitable 4xx or 5xx error code when a problem occurs ๐จ.
4. Implementation Considerations โจ
Implementers should be aware that other implementations might exist that use a different approach for transferring CMP over HTTP ๐. Also, implementations based on earlier documents that led to [RFC6712] might use an unregistered "application/pkixcmp-poll" media type ๐. Conforming implementations MAY handle this type like "application/pkixcmp" ๐.
5. Security Considerations ๐
Okay, this part is seriously important, so read it with me ๐ฅน. All security considerations in HTTP [RFC9110] apply ๐. The following items need to be considered by implementers and users:
- There is a risk of denial-of-service attacks through resource consumption, because someone could open many connections to an HTTP server ๐ฑ. So idle connections should be terminated after an appropriate timeout, and this may also depend on how many free resources are available ๐งฏ.
- Without being wrapped in effective security protocols, such as Transport Layer Security (TLS) [RFC5246] [RFC8446], or without using HTTP digest [RFC9530], there is no integrity protection at the HTTP level ๐ซ. Therefore, information from the HTTP should not be used to change the state of the transaction, no matter whether any mechanism was used to ensure the authenticity or integrity of HTTP messages (e.g., TLS or HTTP digests) ๐.
- Client users should be aware that storing the target location of an HTTP response with the 301 (Moved Permanently) status code could be exploited by a meddler-in-the-middle attacker who is trying to block them permanently from contacting the correct server ๐ป.
- If there are no measures to authenticate and protect the HTTP responses to pushed announcement messages, their information about the announcement's processing state may not be trusted ๐ซฃ. In that case, the overall design of the PKI system must not depend on the announcements being reliably received and processed by their destination ๐ .
- CMP provides built-in integrity protection and authentication ๐ก๏ธ. The info communicated unencrypted in CMP messages does not contain sensitive information that endangers the security of the PKI when intercepted ๐. However, an eavesdropper might be able to use the available info to gather confidential personal, technical, or business-critical information ๐. Protecting the confidentiality of CMP messages, together with an initial authentication of the RA/CA before the first CMP message is transmitted, ensures the privacy of the EE requesting certificates ๐. So users of the HTTP transfer for CMP messages should consider using HTTP over TLS according to [RFC9110], or using virtual private networks created, for example, by utilizing Internet Protocol Security according to [RFC7296] ๐ฆ.
- Not much else to add here, but the ending is an IANA thing ๐ (see below).
Wait, that last item is not in the original, so I'm dropping it. The list has exactly five items; the sixth is just the shape of the list itself, so scrap it.
6. IANA Considerations ๐
IANA has made the following updates ๐งพ:
- the reference for "application/pkixcmp" in the "Media Types" registry
<https://www.iana.org/assignments/media-types>now refers to this document, instead of [RFC2510] ๐ - the reference for "application/pkixcmp" in the "CoAP Content-Formats" registry
<https://www.iana.org/assignments/core-parameters>now refers to this document, instead of [RFC4210] ๐ธ - the reference for "cmp" in the "Well-Known URIs" registry
<https://www.iana.org/assignments/well-known-uris/>now refers to this document instead of [RFC4210] ๐ง - the reference for "p" in the "CMP Well-Known URI Path Segments" registry
<https://www.iana.org/assignments/cmp>now refers to this document instead of [RFC9480] ๐
No further action by IANA is necessary for this document or any anticipated updates ๐.
7. References ๐
7.1. Normative References
[ITU.X690.2021]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, 2021,<https://www.itu.int/rec/T-REC-X.690-202102-I/en>.[RFC1945]Berners-Lee, T., Fielding, R., and H. Frystyk, "Hypertext Transfer Protocol -- HTTP/1.0", RFC 1945, DOI 10.17487/RFC1945, May 1996,<https://www.rfc-editor.org/info/rfc1945>.[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>.[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>.[RFC8615]Nottingham, M., "Well-Known Uniform Resource Identifiers (URIs)", RFC 8615, DOI 10.17487/RFC8615, May 2019,<https://www.rfc-editor.org/info/rfc8615>.[RFC9110]Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, June 2022,<https://www.rfc-editor.org/info/rfc9110>.[RFC9112]Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP/1.1", STD 99, RFC 9112, DOI 10.17487/RFC9112, June 2022,<https://www.rfc-editor.org/info/rfc9112>.[RFC9810]Brockhaus, H., von Oheimb, D., Ounsworth, M., and J. Gray, "Internet X.509 Public Key Infrastructure -- Certificate Management Protocol (CMP)", RFC 9810, DOI 10.17487/RFC9810, July 2025,<https://www.rfc-editor.org/info/rfc9810>.
7.2. Informative References
[BCP56]Best Current Practice 56,<https://www.rfc-editor.org/info/bcp56>. At the time of writing, this BCP comprises the following: Nottingham, M., "Building Protocols with HTTP", BCP 56, RFC 9205, DOI 10.17487/RFC9205, June 2022,<https://www.rfc-editor.org/info/rfc9205>.[RFC2510]Adams, C. and S. Farrell, "Internet X.509 Public Key Infrastructure Certificate Management Protocols", RFC 2510, DOI 10.17487/RFC2510, March 1999,<https://www.rfc-editor.org/info/rfc2510>.[RFC4210]Adams, C., Farrell, S., Kause, T., and T. Mononen, "Internet X.509 Public Key Infrastructure Certificate Management Protocol (CMP)", RFC 4210, DOI 10.17487/RFC4210, September 2005,<https://www.rfc-editor.org/info/rfc4210>.[RFC5246]Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.2", RFC 5246, DOI 10.17487/RFC5246, August 2008,<https://www.rfc-editor.org/info/rfc5246>.[RFC6712]Kause, T. and M. Peylo, "Internet X.509 Public Key Infrastructure -- HTTP Transfer for the Certificate Management Protocol (CMP)", RFC 6712, DOI 10.17487/RFC6712, September 2012,<https://www.rfc-editor.org/info/rfc6712>.[RFC7296]Kaufman, C., Hoffman, P., Nir, Y., Eronen, P., and T. Kivinen, "Internet Key Exchange Protocol Version 2 (IKEv2)", STD 79, RFC 7296, DOI 10.17487/RFC7296, October 2014,<https://www.rfc-editor.org/info/rfc7296>.[RFC8446]Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018,<https://www.rfc-editor.org/info/rfc8446>.[RFC9293]Eddy, W., Ed., "Transmission Control Protocol (TCP)", STD 7, RFC 9293, DOI 10.17487/RFC9293, August 2022,<https://www.rfc-editor.org/info/rfc9293>.[RFC9480]Brockhaus, H., von Oheimb, D., and J. Gray, "Certificate Management Protocol (CMP) Updates", RFC 9480, DOI 10.17487/RFC9480, November 2023,<https://www.rfc-editor.org/info/rfc9480>.[RFC9483]Brockhaus, H., von Oheimb, D., and S. Fries, "Lightweight Certificate Management Protocol (CMP) Profile", RFC 9483, DOI 10.17487/RFC9483, November 2023,<https://www.rfc-editor.org/info/rfc9483>.[RFC9530]Polli, R. and L. Pardue, "Digest Fields", RFC 9530, DOI 10.17487/RFC9530, February 2024,<https://www.rfc-editor.org/info/rfc9530>.
Acknowledgements ๐ซถ
The authors wish to thank Tomi Kause and Martin Peylo, the original authors of [RFC6712], for their work ๐.
We also thank all reviewers for their valuable feedback ๐.
Authors' Addresses ๐
okay bestie, last stop: who wrote this thing and how to slide into their inboxes ๐ there are four authors, two from Siemens and two from Entrust ๐ซถ
Hendrik Brockhaus ๐ธ is from Siemens, and you can find him here:
Hendrik Brockhaus
Siemens
Werner-von-Siemens-Strasse 1
80333 Munich
Germany
Email: hendrik.brockhaus@siemens.com
URI: https://www.siemens.com
David von Oheimb ๐ฆ is also from Siemens, at the same Munich address:
David von Oheimb
Siemens
Werner-von-Siemens-Strasse 1
80333 Munich
Germany
Email: david.von.oheimb@siemens.com
URI: https://www.siemens.com
Mike Ounsworth ๐ง is from Entrust, based in Minneapolis:
Mike Ounsworth
Entrust
1187 Park Place
Minneapolis, MN 55379
United States of America
Email: mike.ounsworth@entrust.com
URI: https://www.entrust.com
John Gray ๐ is also from Entrust, at the same Minneapolis office:
John Gray
Entrust
1187 Park Place
Minneapolis, MN 55379
United States of America
Email: john.gray@entrust.com
URI: https://www.entrust.com
and that's the whole doc, bestie ๐ four brilliant people, two teams, one spec. slay โจ
๐ฆ where this page comes from
- ietf: rfc9811 2025-07
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms