One document matched: draft-ietf-pkix-cmc-trans-07.xml
<?xml version="1.0" encoding="UTF-8"?> <?rfc symrefs="yes"?> <?rfc compact="yes"?> <rfc ipr="full3978" docName="draft-ietf-pkix-cmc-trans-07.txt"> <front> <title abbrev="CMC: Transport Protocols">Certificate Management over CMS (CMC): Transport Protocols</title> <author initials="J." surname="Schaad" fullname="Jim Schaad"> <organization>Soaring Hawk Consulting</organization> <address> <postal> <street>PO Box 675</street> <city>Gold Bar</city> <region>WA</region> <code>98251</code> </postal> <phone>(425) 785-1031</phone> <email>jimsch@nwlink.com</email> </address> </author> <author initials="M." surname="Myers" fullname="Michael Myers"> <organization>TraceRoute Security, Inc.</organization> <address> <email>mmyers@fastq.com</email> </address> </author> <date month="December" year="2007"/> <workgroup>PKIX Working Group</workgroup> <abstract> <t>This document defines a number of transport mechanisms that are used to move CMC (Certificate Management over CMS (Cryptographic Message Syntax)) messages. The transport mechanisms described in this document are: HTTP, file, mail and TCP. </t> </abstract> </front> <middle> <section title="Overview"> <t>This document defines a number of transport methods that are used to move CMC messages (defined in <xref target="CMC-STRUCT"/>). The transport mechanisms described in this document are: HTTP, file, mail and TCP.</t> <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in <xref target="MUST"/>.</t> </section> <section title="File based protocol"> <t>Enrollment messages and responses may be transferred between clients and servers using file system-based mechanisms, such as when enrollment is performed for an off-line client. When files are used to transport binary, Full PKI Request or Full PKI Response messages, there MUST be only one instance of a request or response message in a single file. The following file type extensions SHOULD be used:</t> <texttable title="File PKI Request/Response Identification"> <ttcol>Message Type</ttcol> <ttcol>File Extension</ttcol> <c>Simple PKI Request</c> <c>.p10</c> <c>Full PKI Request</c> <c>.crq</c> <c>Simple PKI Response</c> <c>.p7c</c> <c>Full PKI Response</c> <c>.crp</c> </texttable> </section> <section title="Mail based protocol"> <t>MIME wrapping is defined for those environments that are MIME native. The basic mime wrapping in this section is taken from <xref target="SMIMEV3"/>. When using a mail based protocol, MIME wrapping between the layers of CMS wrapping is optional. Note that is different from the standard S/MIME (Secure MIME) message.</t> <t>Simple enrollment requests are encoded using the "application/pkcs10" content type. A file name MUST be included either in a content type or a content disposition statement. The extension for the file MUST be ".p10".</t> <t>Simple enrollment response messages MUST be encoded as content-type "application/pkcs7-mime". An smime-type parameter MUST be on the content-type statement with a value of "certs-only." A file name with the ".p7c" extension MUST be specified as part of the content-type or content-disposition statement.</t> <t>Full enrollment request messages MUST be encoded as content-type "application/pkcs7-mime". The smime-type parameter MUST be included with a value of "CMC-enroll". A file name with the ".p7m" extension MUST be specified as part of the content-type or content-disposition statement.</t> <t>Full enrollment response messages MUST be encoded as content-type "application/pkcs7-mime". The smime-type parameter MUST be included with a value of "CMC-response." A file name with the ".p7m" extensions MUST be specified as part of the content-type or content- disposition statement.</t> <texttable title="MIME PKI Request/Response Identification" anchor="t_MimeTypes"> <ttcol>Item</ttcol> <ttcol>MIME TYPE</ttcol> <ttcol>File Extension</ttcol> <ttcol>SMIME-TYPE</ttcol> <c>Simple PKI Request</c> <c>application/pkcs10</c> <c>.p10</c> <c>N/A</c> <c>Full PKI Request</c> <c>application/pkcs7-mime</c> <c>.p7m</c> <c>CMC-request</c> <c>Simple PKI Response</c> <c>application/pkcs7-mime</c> <c>.p7c</c> <c>certs-only</c> <c>Full PKI Response</c> <c>application/pkcs7-mime</c> <c>.p7m</c> <c>CMC-response</c> </texttable> </section> <section title="HTTP/HTTPS based protocol"> <t>This section describes the conventions for use of HTTP <xref target="HTTP"/> as a transport layer. In most circumstances, the use of HTTP over TLS <xref target="TLS"/> provides any necessary content protection from ease-droppers.</t> <t>In order for CMC clients and servers using HTTP to interoperate, the following rules apply.</t> <list> <t>Clients MUST use the POST method to submit their requests.</t> <t>Servers MUST use the 200 response code for successful reponses.</t> <t>Clients MAY attempt to send HTTP requests using TLS 1.0 <xref target="TLS"/> or later, although servers are not required to support TLS.</t> <t>Servers MUST NOT assume client support for any type of HTTP authentication such as cookies, Basic authentication or Digest authentication.</t> <t>Clients and servers are expected to follow the other rules and restrictions in <xref target="HTTP"/>. Note that some of those rules are for HTTP methods other than POST; clearly, only the rules that apply to POST are relevant for this specification.</t> </list> <section title="PKI Request"> <t>A PKI Request using the POST method is constructed as follows:</t> <t>The Content-Type header MUST have the appropriate value from <xref target="t_MimeTypes"/>.</t> <t>The body of the message is the binary value of the encoding of the PKI Request.</t> </section> <section title="PKI Response"> <t>An HTTP-based PKI Response is composed of the appropriate HTTP headers, followed by the binary value of the BER (Basic Encoding Rules) encoding of either a Simple or Full PKI Response.</t> <t>The Content-Type header MUST have the appropriate value from <xref target="t_MimeTypes"/>.</t> </section> </section> <section title="TCP based protocol"> <t>When CMC messages are sent over a TCP-Based connection, no wrapping is required of the message. Messages are sent in their binary encoded form.</t> <t>The connection is closed by the server after generating a response for the client. (All CMC request messages from client to server generate a response message.) If a second set of messages from the client to the server is required to complete the transaction, the client generates a new TCP-Based connection for this purpose; it cannot reuse an existing one.</t> <t>Out of band setup can be used to keep a TCP-Based connection open for more than one message pair. A situation where this can occur is an RA talking to a CA over a specially setup TCP connection.</t> <t>There is no specific port that is to be used when doing TCP based transport. This is to be configured out of band.</t> </section> <section title=" Socket-Based Transport"> <t>When enrollment messages and responses are sent over sockets, no wrapping is required. Messages MUST be sent in their binary, BER-encoded form.</t> </section> <section title=" Security Considerations"> <t>Mechanisms for thwarting replay attacks may be required in particular implementations of this protocol depending on the operational environment. In cases where the CA maintains significant state information, replay attacks may be detectable without the inclusion of the optional nonce mechanisms. Implementers of this protocol need to carefully consider environmental conditions before choosing whether or not to implement the senderNonce and recipientNonce attributes described in section 5.6 of <xref target="CMC-STRUCT"/>. Developers of state-constrained PKI clients are strongly encouraged to incorporate the use of these attributes.</t> </section> <section title="IANA Considerations"> <t>There are no IANA considerations in this document.</t> </section> <section title="Acknowledgments"> <t>The authors and the Working Group are grateful for the participation of Xiaoui Lui and Jeff Weinstein in helping to author the original versions of this document. </t> <t>The authors would like to thank Brian LaMacchia for his work in developing and writing up many of the concepts presented in this document. The authors would also like to thank Alex Deacon and Barb Fox for their contributions.</t> </section> </middle> <back> <references title="Normative References"> <reference anchor="CMC-STRUCT"> <front> <title>Certificate Management Messages over CMS</title> <author initials="J." surname="Schaad" fullname="Jim Schaad"/> <author initials="M." surname="Myers" fullname="Michael Myers"/> <date month="September" year="2005"/> </front> <seriesInfo name="draft-ietf-pkix-2797-bis-05.txt" value=""/> </reference> <reference anchor="HTTP"> <front> <title>Hypertext Transfer Protocol -- HTTP/1.1</title> <author initials="R." surname="Fielding"/> <author initials="J." surname="Gettys"/> <author initials="J." surname="Mogul"/> <author initials="H." surname="Frystyk"/> <author initials="L." surname="Masinter"/> <author initials="P." surname="Leach"/> <author initials="T." surname="Berners-Lee"/> <date month="June" year="1999"/> </front> <seriesInfo name="RFC" value="2616"/> </reference> <reference anchor="MUST"> <front> <title>Key words for use in RFCs to Indicate Requirement Levels</title> <author initials="S." surname="Bradner"/> <date month="March" year="1997"/> </front> <seriesInfo name="RFC" value="2119"/> <seriesInfo name="BCP" value="14"/> </reference> <reference anchor="SMIMEV3"> <front> <title> Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.1 Message Specification</title> <author initials="B." surname="Ramsdell"/> <date year="2004" month="July"/> </front> <seriesInfo name="RFC" value="3851"/> </reference> </references> <references title="Informative References"> <reference anchor="TLS"> <front> <title>The Transport Layer Security (TLS) Protocol Version 1.1</title> <author initials="T." surname="Dierks"/> <author initials="E." surname="Rescorla"/> <date year="2006" month="April"/> </front> <seriesInfo name="RFC" value="4346"/> </reference> </references> </back> </rfc>
| PAFTECH AB 2003-2026 | 2026-04-23 16:30:25 |