1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893
|
<pre>Internet Engineering Task Force (IETF) L. Zieglar
Request for Comments: 6403 NSA
Category: Informational S. Turner
ISSN: 2070-1721 IECA
M. Peck
November 2011
<span class="h1">Suite B Profile of Certificate Management over CMS</span>
Abstract
The United States government has published guidelines for "NSA
Suite B Cryptography", which defines cryptographic algorithm policy
for national security applications. This document specifies a
profile of the Certificate Management over CMS (CMC) protocol for
managing Suite B X.509 public key certificates. This profile is a
refinement of RFCs 5272, 5273, and 5274.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are a candidate for any level of Internet
Standard; see <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc6403">http://www.rfc-editor.org/info/rfc6403</a>.
Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
<span class="grey">Zieglar, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies a profile for using the Certificate
Management over CMS (CMC) protocol, defined in [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>], [<a href="./rfc5273" title=""Certificate Management over CMS (CMC): Transport Protocols"">RFC5273</a>],
and [<a href="./rfc5274" title=""Certificate Management Messages over CMS (CMC): Compliance Requirements"">RFC5274</a>], and updated by [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>], to manage X.509 public key
certificates compliant with the United States National Security
Agency's Suite B Cryptography as defined in the Suite B Certificate
and Certificate Revocation List (CRL) Profile [<a href="./rfc5759" title=""Suite B Certificate and Certificate Revocation List (CRL) Profile"">RFC5759</a>]. This
document specifically focuses on defining CMC interactions for both
initial enrollment and rekey of Suite B public key certificates
between a client and a Certification Authority (CA). One or more
Registration Authorities (RAs) may act as intermediaries between the
client and the CA. This profile may be further tailored by specific
communities to meet their needs. Specific communities will also
define Certificate Policies that implementations need to comply with.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
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 [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
The terminology in <a href="./rfc5272#section-2.1">[RFC5272] Section 2.1</a> applies to this profile.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Requirements and Assumptions</span>
All key pairs are on either the curve P-256 or the curve P-384. FIPS
186-3 [<a href="#ref-DSS" title=" FIPS 186-3: Digital Signature Standard (DSS)">DSS</a>], <a href="#appendix-B.4">Appendix B.4</a>, provides useful guidance for elliptic
curve key pair generation that SHOULD be followed by systems that
conform to this document.
This document assumes that the required trust anchors have been
securely provisioned to the client and, when applicable, to any RAs.
All requirements in [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>], [<a href="./rfc5273" title=""Certificate Management over CMS (CMC): Transport Protocols"">RFC5273</a>], [<a href="./rfc5274" title=""Certificate Management Messages over CMS (CMC): Compliance Requirements"">RFC5274</a>], and [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>]
apply, except where overridden by this profile.
This profile was developed with the scenarios described in <a href="#appendix-A">Appendix A</a>
in mind. However, use of this profile is not limited to just those
scenarios.
The term "client" in this profile typically refers to an end-entity.
However, it may instead refer to a third party acting on the end-
entity's behalf. The client may or may not be the entity that
<span class="grey">Zieglar, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
actually generates the key pair, but it does perform the CMC protocol
interactions with the RA and/or CA. For example, the client may be a
token management system that communicates with a cryptographic token
through an out-of-band secure protocol.
This profile uses the term "rekey" in the same manner as does CMC
(defined in <a href="./rfc5272#section-2">Section 2 of [RFC5272]</a>). The profile makes no specific
statements about the ability to do "renewal" operations; however, the
statements applicable to rekey should be applied to renewal as well.
This profile may be used to manage RA and/or CA certificates. In
that case, the RA and/or CA whose certificate is being managed is
considered to be the end-entity.
This profile does not support key establishment certification
requests from cryptographic modules that cannot generate a one-time
signature with a key establishment key for proof-of-possession
purposes. In that case, a separate profile would be needed to define
the use of another proof-of-possession technique.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Client Requirements: Generating PKI Requests</span>
This section specifies the conventions employed when a client
requests a certificate from a Public Key Infrastructure (PKI).
The Full PKI Request MUST be used; it MUST be encapsulated in a
SignedData; and the SignedData MUST be constructed as defined in
[<a href="./rfc6318" title=""Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)"">RFC6318</a>]. The PKIData content type complies with [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>] with the
following additional requirements:
o controlSequence SHOULD be present, and it SHOULD include the
following CMC controls: Transaction ID and Sender Nonce. Other
CMC controls MAY be included. If the request is being
authenticated using a shared-secret, then the following
requirements in this paragraph apply: Identity Proof Version 2
control, as defined in [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>], MUST be included; hashAlgId MUST
be id-sha256 or id-sha384 for P-256 certification requests, and
MUST be id-sha384 for P-384 certification requests (both algorithm
OIDs are defined in [<a href="./rfc5754" title=""Using SHA2 Algorithms with Cryptographic Message Syntax"">RFC5754</a>]); macAlgId MUST be HMAC-SHA256 when
the hashAlgId is id-sha256, and MUST be HMAC-SHA384 when the
hashAlgId is id-sha384 (both HMAC algorithms are defined in
[<a href="./rfc4231" title=""Identifiers and Test Vectors for HMAC- SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512"">RFC4231</a>]). If the subject included in the certification request
is NULL or otherwise does not uniquely identify the end-entity,
then the POP Link Random control MUST be included, and the POP
Link Witness Version 2 control MUST be included in the inner PKCS
#10 or Certificate Request Message Format (CRMF) request as
described in Sections <a href="#section-4.1">4.1</a> and <a href="#section-4.2">4.2</a>.
<span class="grey">Zieglar, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
o reqSequence MUST be present. It MUST include at least one tcr
(see <a href="#section-4.1">Section 4.1</a>) or crm (see <a href="#section-4.2">Section 4.2</a>) TaggedRequest. Support
for the orm choice is OPTIONAL.
If the Full PKI Request contains a P-256 public key certification
request, then the SignedData encapsulating the Full PKI Request MUST
be generated using either SHA-256 and ECDSA on P-256 or using SHA-384
and ECDSA on P-384. If the Full PKI Request contains a P-384 public
key certification request, then the SignedData MUST be generated
using SHA-384 and ECDSA on P-384.
A Full PKI Request MUST be signed using the private key that
corresponds to the public key of an existing signature certificate
unless an appropriate signature certificate does not yet exist, such
as during initial enrollment.
If an appropriate signature certificate does not yet exist, and if a
Full PKI Request includes one or more certification requests and is
authenticated using a shared-secret (because no appropriate
certificate exists yet to authenticate the request), the Full PKI
Request MUST be signed using the private key corresponding to the
public key of one of the requested certificates. When necessary
(i.e., because there is no existing signature certificate and there
is no signature certification request included), a Full PKI Request
MAY be signed using a key pair intended for use in a key
establishment certificate. However, servers are not required to
allow this behavior.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Tagged Certification Request</span>
The reqSequence tcr choice conveys PKCS #10 [<a href="./rfc2986" title=""PKCS #10: Certification Request Syntax Specification Version 1.7"">RFC2986</a>] syntax. The
CertificateRequest MUST comply with <a href="./rfc5272#section-3.2.1.2.1">[RFC5272], Section 3.2.1.2.1</a>,
with the following additional requirements:
o certificationRequestInfo:
* subjectPublicKeyInfo MUST be set as defined in <a href="./rfc5759#section-4.4">Section 4.4 of
[RFC5759]</a>;
* attributes:
- The ExtensionReq attribute MUST be included with its
contents as follows:
o The Key Usage extension MUST be included, and it MUST be
set as defined in [<a href="./rfc5759" title=""Suite B Certificate and Certificate Revocation List (CRL) Profile"">RFC5759</a>].
<span class="grey">Zieglar, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
o For rekey requests, the SubjectAltName extension MUST be
included and set equal to the SubjectAltName of the
certificate that is being used to sign the SignedData
encapsulating the request (i.e., not the certificate
being rekeyed) if the Subject field of the certificate
being used to generate the signature is NULL.
o Other extension requests MAY be included as desired.
- The ChangeSubjectName attribute, as defined in [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>],
MUST be included if the Full PKI Request encapsulating this
Tagged Certification Request is being signed by a key for
which a certificate currently exists and the existing
certificate's Subject or SubjectAltName does not match the
desired Subject or SubjectAltName of this certification
request.
- The POP Link Witness Version 2 attribute MUST be included if
the request is being authenticated using a shared-secret and
the Subject in the certification request is NULL or
otherwise does not uniquely identify the end-entity. In the
POP Link Witness Version 2 attribute, keyGenAlgorithm MUST
be id-sha256 or id-sha384 for P-256 certification requests
and MUST be id-sha384 for P-384 certification requests, as
defined in [<a href="./rfc5754" title=""Using SHA2 Algorithms with Cryptographic Message Syntax"">RFC5754</a>]; macAlgorithm MUST be HMAC-SHA256 when
the keyGenAlgorithm is id-sha256 and MUST be HMAC-SHA384
when the keyGenAlgorithm is id-sha384, as defined in
[<a href="./rfc4231" title=""Identifiers and Test Vectors for HMAC- SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512"">RFC4231</a>].
* signatureAlgorithm MUST be ecdsa-with-sha256 for P-256
certification requests and MUST be ecdsa-with-sha384 for P-384
certification requests;
* signature MUST be generated using the private key corresponding
to the public key in the CertificationRequestInfo, for both
signature and key establishment certification requests. The
signature provides proof-of-possession of the private key to
the Certification Authority.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Certificate Request Message</span>
The reqSequence crm choice conveys Certificate Request Message Format
(CRMF) [<a href="./rfc4211" title=""Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF)"">RFC4211</a>] syntax. The CertReqMsg MUST comply with <a href="./rfc5272#section-3.2.1.2.2">[RFC5272],
Section 3.2.1.2.2</a>, with the following additional requirements:
o popo MUST be included using the signature (POPOSigningKey) proof-
of-possession choice and set as defined in <a href="./rfc4211#section-4.1">[RFC4211], Section 4.1</a>,
for both signature and key establishment certification requests.
<span class="grey">Zieglar, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
The POPOSigningKey poposkInput field MUST be omitted. The
POPOSigningKey algorithmIdentifier MUST be ecdsa-with-sha256 for
P-256 certification requests and MUST be ecdsa-with-sha384 for
P-384 certification requests. The signature MUST be generated
using the private key corresponding to the public key in the
CertTemplate.
The CertTemplate MUST comply with <a href="./rfc5272#section-3.2.1.2.2">[RFC5272], Section 3.2.1.2.2</a>, with
the following additional requirements:
o version MAY be included and, if included, it MUST be set to 2 as
defined in <a href="./rfc5759#section-4.3">Section 4.3 of [RFC5759]</a>;
o publicKey MUST be set as defined in <a href="./rfc5759#section-4.4">Section 4.4 of [RFC5759]</a>;
o extensions:
* The Key Usage extension MUST be included, and it MUST be set as
defined in [<a href="./rfc5759" title=""Suite B Certificate and Certificate Revocation List (CRL) Profile"">RFC5759</a>].
* For rekey requests, the SubjectAltName extension MUST be
included and set equal to the SubjectAltName of the certificate
that is being used to sign the SignedData encapsulating the
request (i.e., not the certificate being rekeyed) if the
Subject field of the certificate being used to generate the
signature is NULL.
* Other extension requests MAY be included as desired.
o controls:
* The ChangeSubjectName attribute, as defined in [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>], MUST
be included if the Full PKI Request encapsulating this Tagged
Certification Request is being signed by a key for which a
certificate currently exists and the existing certificate's
Subject or SubjectAltName does not match the desired Subject or
SubjectAltName of this certification request.
* The POP Link Witness Version 2 attribute MUST be included if
the request is being authenticated using a shared-secret, and
the Subject in the certification request is NULL or otherwise
does not uniquely identify the end-entity. In the POP Link
Witness Version 2 attribute, keyGenAlgorithm MUST be id-sha256
or id-sha384 for P-256 certification requests and MUST be
id-sha384 for P-384 certification requests; macAlgorithm MUST
be HMAC-SHA256 when keyGenAlgorithm is id-sha256 and MUST be
HMAC-SHA384 when keyGenAlgorithm is id-sha384.
<span class="grey">Zieglar, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. RA Requirements</span>
This section addresses the optional case where one or more RAs act as
intermediaries between the client and CA as described in <a href="./rfc5272#section-7">Section 7 of
[RFC5272]</a>. In this section, the term "client" refers to the entity
from which the RA received the PKI Request. This section is only
applicable to RAs.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. RA Processing of Requests</span>
RAs conforming to this document MUST ensure that only the permitted
signature, hash, and MAC algorithms described throughout this profile
are used in requests; if they are not, the RA MUST reject those
requests. The RA SHOULD return a CMCFailInfo with the value of
badAlg [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>].
When processing end-entity-generated SignedData objects, RAs MUST NOT
perform Cryptographic Message Syntax (CMS) Content Constraints (CCC)
certificate extension processing [<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>].
Other RA processing is as in [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>].
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. RA-Generated PKI Requests</span>
If the RA encapsulates the client-generated PKI Request in a new RA-
signed PKI Request, it MUST create a Full PKI Request encapsulated in
a SignedData, and the SignedData MUST be constructed as defined in
[<a href="./rfc6318" title=""Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)"">RFC6318</a>]. The PKIData content type complies with [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>] with the
following additional requirements:
o controlSequence MUST be present. It MUST include the following
CMC controls: Transaction ID, Sender Nonce, and Batch Requests.
Other appropriate CMC controls MAY be included.
o cmsSequence MUST be present. It contains the original, unmodified
request(s) received from the client.
RA certificates are authorized to sign Full PKI Requests with an
Extended Key Usage (EKU) and/or with the CCC certificate extension
[<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>]. Certificates may also be authorized through local
configuration. Authorized certificates SHOULD include the
id-kp-cmcRA EKU from [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>]. Authorized certificates MAY also
include the CCC certificate extension [<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>], or the authorized
certificate MAY just include the CCC certificate extension. If the
RA is authorized via the CCC extension, then the CCC extension MUST
include the object identifier for the PKIData content type. CCC
SHOULD be included if constraints are to be placed on the content
types generated.
<span class="grey">Zieglar, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
If the RA-signed PKI Request contains a certification request for a
P-256 public key, then the SignedData MUST be generated using either
SHA-256 and ECDSA on P-256 or SHA-384 and ECDSA on P-384. If the
request contains a certification request for a P-384 public key, then
the SignedData MUST be generated using SHA-384 and ECDSA on P-384.
If the RA-signed PKI Request contains requests for certificates on
the P-256 and P-384 curve, then the SignedData MUST be generated
using SHA-384 and ECDSA on P-384. If the Full PKI Response is a
successful response to a PKI Request that only contained a Get
Certificate or Get CRL control, then the SignedData MUST be signed by
either SHA-256 and ECDSA on P-256 or SHA-384 and ECDSA on P-384, the
algorithm used in the response MUST match the algorithm used in the
request.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. RA-Generated Errors</span>
RA certificates authorized with the CCC certificate extension
[<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>] MUST include the object identifier for the PKIResponse
content type to authorize them to generate responses.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. CA Requirements</span>
This section specifies the requirements for CAs that receive PKI
Requests and that generate PKI Responses.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. CA Processing of PKI Requests</span>
CAs conforming to this document MUST ensure that only the permitted
signature, hash, and MAC algorithms described throughout this profile
are used in requests; if they are not, the CA MUST reject those
requests. The CA SHOULD return a CMCStatusInfoV2 control with
CMCStatus of failed and a CMCFailInfo with the value of badAlg
[<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>].
For requests involving an RA, the CA MUST verify the RA's
authorization. The following certificate fields MUST NOT be
modifiable using the Modify Certification Request control: publicKey
and the key usage extension. The request MUST be rejected if an
attempt to modify those certification request fields is present. The
CA SHOULD return a CMCStatusInfoV2 control with CMCStatus of failed
and a CMCFailInfo with a value of badRequest.
When processing end-entity-generated SignedData objects, CAs MUST NOT
perform CCC certificate extension processing [<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>].
If the client-generated PKI Request includes a ChangeSubjectName
attribute either in the CertRequest controls field for a CRMF request
or in the tcr attributes field for a PKCS#10 request, then the CA
<span class="grey">Zieglar, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
MUST ensure that name change is authorized. The mechanism for
ensuring that the name change is authorized is out of scope. If the
CA performs this check, and the name change is not authorized, then
the CA MUST reject the PKI Request. The CA SHOULD return a
CMCStatusInfoV2 control with CMCStatus of failed.
Other processing of PKIRequests is as in [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>].
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. CA-Generated PKI Responses</span>
If a Full PKI Response is returned, it MUST be encapsulated in a
SignedData, and the SignedData MUST be constructed as defined in
[<a href="./rfc6318" title=""Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)"">RFC6318</a>].
If the PKI Response is in response to an RA-encapsulated PKI Request,
then the above PKI Response is encapsulated in another CA-generated
PKI Response. That PKI Response MUST be encapsulated in a SignedData
and the SignedData MUST be constructed as defined in [<a href="./rfc6318" title=""Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)"">RFC6318</a>]. The
above PKI Response is placed in the encapsulating PKI Response
cmsSequence field. The other fields are as above with the addition
of the batch response control in controlSequence. The following
illustrates a successful CA response to an RA-encapsulated PKI
Request, both of which include Transaction IDs and Nonces:
SignedData (applied by the CA)
PKIData
controlSequence (Transaction ID, Sender Nonce, Recipient
Nonce, Batch Response)
cmsSequence
SignedData (applied by CA and includes returned
certificates)
PKIData
controlSequence (Transaction ID, Sender Nonce,
Recipient Nonce)
The same private key used to sign certificates MUST NOT be used to
sign Full PKI Response messages. Instead, a separate certificate
authorized to sign CMC responses MUST be used. Certificates are
authorized to sign Full PKI Responses with an EKU and/or with the CCC
certificate extension [<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>]. Certificates may also be authorized
through local configuration. Authorized certificates SHOULD include
the id-kp-cmcCA EKU from [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>]. Authorized certificates MAY also
include the CCC certificate extension [<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>], or the authorized
certificate MAY just include the CCC certificate extension. If the
CA is authorized via the CCC extension, then the CCC extension MUST
include the object identifier for the PKIResponse content type. CCC
SHOULD be included if constraints are to be placed on the content
types generated.
<span class="grey">Zieglar, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
The signature on the SignedData MUST be generated using either ECDSA
P-256 on SHA-256 or ECDSA P-384 on SHA-384. If the Full PKI Response
is a successful response to a P-256 public key certification request,
then the SignedData MUST be generated using either SHA-256 and ECDSA
on P-256 or SHA-384 and ECDSA on P-384. If the Full PKI Response is
a successful response to a P-384 public key certification request,
then the SignedData MUST be generated using SHA-384 and ECDSA on
P-384. If the Full PKI Response is a successful response to
certification requests on both the P-256 and P-356 curves, then the
SignedData MUST be generated using SHA-384 and ECDSA on P-384. If
the Full PKI Response is an unsuccessful response to a PKI Request,
then the SignedData MUST be signed by either SHA-256 and ECDSA on
P-256 or SHA-384 and ECDSA on P-384, the algorithm used in the
response MUST match the algorithm used in the request. If the Full
PKI Response is an unsuccessful response to certification requests on
both the P-256 and P-356 curves, then the SignedData MUST be
generated using SHA-384 and ECDSA on P-384. If the Full PKI Response
is a successful response to a PKI Request that only contained a Get
Certificate or Get CRL control, then the SignedData MUST be signed by
either SHA-256 and ECDSA on P-256 or SHA-384 and ECDSA on P-384, the
algorithm used in the response MUST match the algorithm used in the
request.
If the PKI Response is in response to an RA-encapsulated PKI Request,
the signature algorithm for each SignedData is selected
independently.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Client Requirements: Processing PKI Responses</span>
Clients conforming to this document MUST ensure that only the
permitted signature, hash, and MAC algorithms described throughout
this profile are used in responses; if they are not, the client MUST
reject those responses.
Clients MUST authenticate all Full PKI Responses. This includes
verifying that the PKI Response is signed by an authorized CA or RA
whose certificate validates back to a trust anchor. The authorized
CA certificate MUST include the id-kp-cmcCA EKU and/or include a CCC
extension that includes the object identifier for the PKIResponse
content type. Or, the CA is determined to be authorized to sign
responses through an implementation-specific mechanism. The PKI
Response can be signed by an RA if it is an error message, if it is a
response to a Get Certificate or Get CRL request, or if the PKI
Response contains an inner PKI Response signed by a CA. In the last
case, each layer of PKI Response MUST still contain an authorized,
valid signature signed by an entity with a valid certificate that
verifies back to an acceptable trust anchor. The authorized RA
certificate MUST include the id-kp-cmcRA EKU and/or include a CCC
<span class="grey">Zieglar, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
extension that includes the object identifier for the PKIResponse
content type. Or, the RA is determined to be authorized to sign
responses through an implementation-specific mechanism.
When a newly issued certificate is included in the PKI Response, the
client MUST verify that the newly issued certificate's public key
matches the public key that the client requested. The client MUST
also ensure that the certificate's signature is valid and that the
signature validates back to an acceptable trust anchor.
Clients MUST reject PKI Responses that do not pass these tests.
Local policy will determine whether the client returns a Full PKI
Response with an Extended CMC Status Info control with CMCStatus set
to failed to a user console, error log, or the server.
If the Full PKI Response contains an Extended Status Info with a
CMCStatus set to failed, then local policy will determine whether the
client resends a duplicate certification request back to the server
or an error state is returned to a console or error log.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Shared-Secrets</span>
When the Identity Proof V2 and POP Link Witness V2 controls are used,
the shared-secret MUST be randomly generated and securely
distributed. The shared-secret MUST provide at least 128 bits of
strength for P-256 certification requests and at least 192 bits of
strength for P-384 certification requests.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Security Considerations</span>
Protocol security considerations are found in [<a href="./rfc2986" title=""PKCS #10: Certification Request Syntax Specification Version 1.7"">RFC2986</a>], [<a href="./rfc4211" title=""Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF)"">RFC4211</a>],
[<a href="./rfc6318" title=""Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)"">RFC6318</a>], [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>], [<a href="./rfc5273" title=""Certificate Management over CMS (CMC): Transport Protocols"">RFC5273</a>], [<a href="./rfc5274" title=""Certificate Management Messages over CMS (CMC): Compliance Requirements"">RFC5274</a>], [<a href="./rfc5759" title=""Suite B Certificate and Certificate Revocation List (CRL) Profile"">RFC5759</a>], and [<a href="./rfc6402" title=""Certificate Management over CMS (CMC) Updates"">RFC6402</a>].
When CCC is used to authorize RA and CA certificates, then the
security considerations in [<a href="./rfc6010" title=""Cryptographic Message Syntax (CMS) Content Constraints Extension"">RFC6010</a>] also apply. Algorithm security
considerations are found in [<a href="./rfc6318" title=""Suite B in Secure/Multipurpose Internet Mail Extensions (S/MIME)"">RFC6318</a>].
Compliant with NIST Special Publication 800-57 [<a href="#ref-SP80057" title=" Special Publication 800-57 Part 1: Recommendation for Key Management">SP80057</a>], this
profile defines proof-of-possession of a key establishment private
key by performing a digital signature. Except for one-time proof-of-
possession, a single key pair MUST NOT be used for both signature and
key establishment.
This specification requires implementations to generate key pairs and
other random values. The use of inadequate pseudo-random number
generators (PRNGs) can result in little or no security. The
generation of quality random numbers is difficult. NIST Special
Publication 800-90 [<a href="#ref-SP80090" title=" Special Publication 800-90: Recommendation for Random Number Generation Using Deterministic Random Number Bits Generators (Revised)">SP80090</a>], FIPS 186-3 [<a href="#ref-DSS" title=" FIPS 186-3: Digital Signature Standard (DSS)">DSS</a>], and [<a href="./rfc4086" title=""Randomness Requirements for Security"">RFC4086</a>] offer
random number generation guidance.
<span class="grey">Zieglar, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
When RAs are used, the list of authorized RAs must be securely
distributed out-of-band to CAs.
Presence of the POP Link Witness Version 2 and POP Link Random
attributes protects against substitution attacks.
The Certificate Policy for a particular environment will specify
whether expired certificates can be used to sign certification
requests.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Acknowledgments</span>
Michael Peck wishes to acknowledge that he was employed at the
National Security Agency during much of the work on this document.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. References</span>
<span class="h3"><a class="selflink" id="section-11.1" href="#section-11.1">11.1</a>. Normative References</span>
[<a id="ref-DSS">DSS</a>] National Institute of Standards and Technology (NIST),
FIPS 186-3: Digital Signature Standard (DSS), June 2009.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2986">RFC2986</a>] Nystrom, M. and B. Kaliski, "PKCS #10: Certification
Request Syntax Specification Version 1.7", <a href="./rfc2986">RFC 2986</a>,
November 2000.
[<a id="ref-RFC4086">RFC4086</a>] Eastlake 3rd, D., Schiller, J., and S. Crocker,
"Randomness Requirements for Security", <a href="https://www.rfc-editor.org/bcp/bcp106">BCP 106</a>, <a href="./rfc4086">RFC 4086</a>,
June 2005.
[<a id="ref-RFC4211">RFC4211</a>] Schaad, J., "Internet X.509 Public Key Infrastructure
Certificate Request Message Format (CRMF)", <a href="./rfc4211">RFC 4211</a>,
September 2005.
[<a id="ref-RFC4231">RFC4231</a>] Nystrom, M., "Identifiers and Test Vectors for HMAC-
SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512",
<a href="./rfc4231">RFC 4231</a>, December 2005.
[<a id="ref-RFC5272">RFC5272</a>] Schaad, J. and M. Myers, "Certificate Management over CMS
(CMC)", <a href="./rfc5272">RFC 5272</a>, June 2008.
[<a id="ref-RFC5273">RFC5273</a>] Schaad, J. and M. Myers, "Certificate Management over CMS
(CMC): Transport Protocols", <a href="./rfc5273">RFC 5273</a>, June 2008.
<span class="grey">Zieglar, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
[<a id="ref-RFC5274">RFC5274</a>] Schaad, J. and M. Myers, "Certificate Management Messages
over CMS (CMC): Compliance Requirements", <a href="./rfc5274">RFC 5274</a>, June
2008.
[<a id="ref-RFC5754">RFC5754</a>] Turner, S., "Using SHA2 Algorithms with Cryptographic
Message Syntax", <a href="./rfc5754">RFC 5754</a>, January 2010.
[<a id="ref-RFC5759">RFC5759</a>] Solinas, J. and L. Zieglar, "Suite B Certificate and
Certificate Revocation List (CRL) Profile", <a href="./rfc5759">RFC 5759</a>,
January 2010.
[<a id="ref-RFC6010">RFC6010</a>] Housley, R., Ashmore, S., and C. Wallace, "Cryptographic
Message Syntax (CMS) Content Constraints Extension", <a href="./rfc6010">RFC</a>
<a href="./rfc6010">6010</a>, September 2010.
[<a id="ref-RFC6318">RFC6318</a>] Housley, R. and J. Solinas, "Suite B in
Secure/Multipurpose Internet Mail Extensions (S/MIME)",
<a href="./rfc6318">RFC 6318</a>, June 2011.
[<a id="ref-RFC6402">RFC6402</a>] Schaad, J., "Certificate Management over CMS (CMC)
Updates", <a href="./rfc6402">RFC 6402</a>, November 2011.
<span class="h3"><a class="selflink" id="section-11.2" href="#section-11.2">11.2</a>. Informative References</span>
[<a id="ref-SP80057">SP80057</a>] National Institute of Standards and Technology (NIST),
Special Publication 800-57 Part 1: Recommendation for Key
Management, March 2007.
[<a id="ref-SP80090">SP80090</a>] National Institute of Standards and Technology (NIST),
Special Publication 800-90: Recommendation for Random
Number Generation Using Deterministic Random Number Bits
Generators (Revised), March 2007.
<span class="grey">Zieglar, et al. Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Scenarios</span>
This section illustrates several potential certificate enrollment and
rekey scenarios supported by this profile. This section does not
intend to place any limits or restrictions on the use of CMC.
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. Initial Enrollment</span>
This section describes three scenarios for authenticating initial
enrollment requests:
1. Previously installed signature certificate (e.g., Manufacturer
Installed Certificate);
2. Shared-secret distributed securely out-of-band;
3. RA authentication.
<span class="h4"><a class="selflink" id="appendix-A.1.1" href="#appendix-A.1.1">A.1.1</a>. Previously Installed Signature Certificate</span>
In this scenario, the end-entity has had a signature certificate
installed by the cryptographic module manufacturer. As the end-
entity already has a signature certificate, it can be used to
authenticate a request for a new certificate. The end-entity signs
the Full PKI Request with the private key that corresponds to the
subject public key of a previously installed signature certificate.
The CA will recognize the authorization of the previously installed
certificate and issue an appropriate certificate to the end-entity.
<span class="h4"><a class="selflink" id="appendix-A.1.2" href="#appendix-A.1.2">A.1.2</a>. Shared-Secret Distributed Securely Out-of-Band</span>
In this scenario, the CA distributes a shared-secret out-of-band to
the end-entity that the end-entity uses to authenticate its
certification request. The end-entity signs the Full PKI Request
with the private key for which the certification is being requested.
The end-entity includes the Identity Proof Version 2 control to
authenticate the request using the shared-secret. The CA uses either
the Identification control or the Subject in the end-entity's
enclosed PKCS #10 or CRMF certification request message to identify
the request. The end-entity performs either the POP Link Witness
Version 2 mechanism as described in <a href="./rfc5272#section-6.3.1.1">[RFC5272], Section 6.3.1.1</a>, or
the Shared-Subject/Subject Distinguished Name (DN) linking mechanism
as described in <a href="./rfc5272#section-6.3.2">[RFC5272], Section 6.3.2</a>. The Subject in the
enclosed PKCS #10 or CRMF certification request does not necessarily
match the issued certificate, as it may be used just to help identify
the request (and corresponding shared-secret) to the CA.
<span class="grey">Zieglar, et al. Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
<span class="h4"><a class="selflink" id="appendix-A.1.3" href="#appendix-A.1.3">A.1.3</a>. RA Authentication</span>
In this scenario, the end-entity does not automatically authenticate
its enrollment request to the CA, either because the end-entity has
nothing to authenticate the request with or because organizational
policy requires RA involvement. The end-entity creates a Full PKI
Request and sends it to an RA. The RA verifies the authenticity of
the request, then, if approved, encapsulates and signs the request as
described in <a href="#section-5.2">Section 5.2</a>, forwarding the new request on to the CA.
The Subject in the PKCS #10 or CRMF certification request is not
required to match the issued certificate, it may be used just to help
identify the request to the RA and/or CA.
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a>. Rekey</span>
There are two scenarios to support the rekey of certificates that are
already enrolled. One addresses the rekey of signature certificates
and the other addresses the rekey of key establishment certificates.
Typically, organizational policy will require certificates to be
currently valid to be rekeyed, and it may require initial enrollment
to be repeated when rekey is not possible. However, some
organizational policies might allow a grace period during which an
expired certificate could be used to rekey.
<span class="h4"><a class="selflink" id="appendix-A.2.1" href="#appendix-A.2.1">A.2.1</a>. Rekey of Signature Certificates</span>
When a signature certificate is rekeyed, the PKCS #10 or CRMF
certification request message enclosed in the Full PKI Request will
include the same Subject as the current signature certificate. The
Full PKI Request will be signed by the current private key
corresponding to the current signature certificate.
<span class="h4"><a class="selflink" id="appendix-A.2.2" href="#appendix-A.2.2">A.2.2</a>. Rekey of Key Establishment Certificates</span>
When a key establishment certificate is rekeyed, the Full PKI Request
will generally be signed by the current private key corresponding to
the current signature certificate. If there is no current signature
certificate, one of the initial enrollment options in <a href="#appendix-A.1">Appendix A.1</a>
may be used.
<span class="grey">Zieglar, et al. Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc6403">RFC 6403</a> Suite B CMC Profile November 2011</span>
Authors' Addresses
Lydia Zieglar
National Information Assurance Research Laboratory
National Security Agency
EMail: llziegl@tycho.ncsc.mil
Sean Turner
IECA, Inc.
3057 Nutley Street, Suite 106
Fairfax, VA 22031
USA
EMail: turners@ieca.com
Michael Peck
EMail: mpeck@alumni.virginia.edu
Zieglar, et al. Informational [Page 16]
</pre>
|