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
|
<pre>Internet Engineering Task Force (IETF) G. Huston
Request for Comments: 7730 APNIC
Obsoletes: <a href="./rfc6490">6490</a> S. Weiler
Category: Standards Track Parsons
ISSN: 2070-1721 G. Michaelson
APNIC
S. Kent
BBN
January 2016
<span class="h1">Resource Public Key Infrastructure (RPKI) Trust Anchor Locator</span>
Abstract
This document defines a Trust Anchor Locator (TAL) for the Resource
Public Key Infrastructure (RPKI). This document obsoletes <a href="./rfc6490">RFC 6490</a>
by adding support for multiple URIs in a TAL.
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 has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <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/rfc7730">http://www.rfc-editor.org/info/rfc7730</a>.
Copyright Notice
Copyright (c) 2016 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
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="grey">Huston, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Terminology . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Trust Anchor Locator . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2.1">2.1</a>. Trust Anchor Locator Format . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2.2">2.2</a>. TAL and Trust Anchor Certificate Considerations . . . . . <a href="#page-3">3</a>
<a href="#section-2.3">2.3</a>. Example . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-3">3</a>. Relying Party Use . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4">4</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5">5</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5.1">5.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5.2">5.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document defines a Trust Anchor Locator (TAL) for the Resource
Public Key Infrastructure (RPKI) [<a href="./rfc6480" title=""An Infrastructure to Support Secure Internet Routing"">RFC6480</a>]. This format may be used
to distribute trust anchor material using a mix of out-of-band and
online means. Procedures used by Relying Parties (RPs) to verify
RPKI signed objects SHOULD support this format to facilitate
interoperability between creators of trust anchor material and RPs.
This document obsoletes <a href="./rfc6490">RFC 6490</a> by adding support for multiple URIs
in a TAL.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</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>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Trust Anchor Locator</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Trust Anchor Locator Format</span>
This document does not propose a new format for trust anchor
material. A trust anchor in the RPKI is represented by a self-signed
X.509 Certification Authority (CA) certificate, a format commonly
used in PKIs and widely supported by RP software. This document
specifies a format for data used to retrieve and verify the
authenticity of a trust anchor in a very simple fashion. That data
is referred to as the TAL.
The motivation for defining the TAL is to enable selected data in the
trust anchor to change, without needing to effect redistribution of
the trust anchor per se. In the RPKI, certificates contain
<span class="grey">Huston, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
extensions that represent Internet Number Resources (INRs) [<a href="./rfc3779" title=""X.509 Extensions for IP Addresses and AS Identifiers"">RFC3779</a>].
The set of INRs associated with an entity acting as a trust anchor is
likely to change over time. Thus, if one were to use the common PKI
convention of distributing a trust anchor to RPs in a secure fashion,
then this procedure would need to be repeated whenever the INR set
for the entity acting as a trust anchor changed. By distributing the
TAL (in a secure fashion), instead of distributing the trust anchor,
this problem is avoided, i.e., the TAL is constant so long as the
trust anchor's public key and its location do not change.
The TAL is analogous to the TrustAnchorInfo data structure specified
in [<a href="./rfc5914" title=""Trust Anchor Format"">RFC5914</a>], which is on the Standards Track. That specification
could be used to represent the TAL, if one defined an rsync URI
extension for that data structure. However, the TAL format was
adopted by RPKI implementors prior to the PKIX trust anchor work, and
the RPKI implementer community has elected to utilize the TAL format,
rather than define the requisite extension. The community also
prefers the simplicity of the ASCII encoding of the TAL, versus the
binary (ASN.1) encoding for TrustAnchorInfo.
The TAL is an ordered sequence of:
1) a URI section,
2) a <CRLF> or <LF> line break,
3) a subjectPublicKeyInfo [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>] in DER format [<a href="#ref-X.509" title=""The Directory: Public-key and attribute certificate frameworks"">X.509</a>],
encoded in Base64 (see <a href="./rfc4648#section-4">Section 4 of [RFC4648]</a>). To avoid long
lines, <CRLF> or <LF> line breaks MAY be inserted into the
Base64-encoded string.
where the URI section is comprised of one of more of the ordered
sequence of:
1.1) an rsync URI [<a href="./rfc5781" title=""The rsync URI Scheme"">RFC5781</a>],
1.2) a <CRLF> or <LF> line break.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. TAL and Trust Anchor Certificate Considerations</span>
Each rsync URI in the TAL MUST reference a single object. It MUST
NOT reference a directory or any other form of collection of objects.
The referenced object MUST be a self-signed CA certificate that
conforms to the RPKI certificate profile [<a href="./rfc6487" title=""A Profile for X.509 PKIX Resource Certificates"">RFC6487</a>]. This certificate
is the trust anchor in certification path discovery [<a href="./rfc4158" title=""Internet X.509 Public Key Infrastructure: Certification Path Building"">RFC4158</a>] and
validation [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>] [<a href="./rfc3779" title=""X.509 Extensions for IP Addresses and AS Identifiers"">RFC3779</a>].
<span class="grey">Huston, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
The validity interval of this trust anchor SHOULD reflect the
anticipated period of stability of the particular set of INRs that
are associated with the putative trust anchor.
The INR extension(s) of this trust anchor MUST contain a non-empty
set of number resources. It MUST NOT use the "inherit" form of the
INR extension(s). The INR set described in this certificate is the
set of number resources for which the issuing entity is offering
itself as a putative trust anchor in the RPKI [<a href="./rfc6480" title=""An Infrastructure to Support Secure Internet Routing"">RFC6480</a>].
The public key used to verify the trust anchor MUST be the same as
the subjectPublicKeyInfo in the CA certificate and in the TAL.
The trust anchor MUST contain a stable key. This key MUST NOT change
when the certificate is reissued due to changes in the INR
extension(s), when the certificate is renewed prior to expiration, or
for any reason other than a key change.
Because the public key in the TAL and the trust anchor MUST be
stable, this motivates operation of that CA in an offline mode.
Thus, the entity that issues the trust anchor SHOULD issue a
subordinate CA certificate that contains the same INRs (via the use
of the "inherit" option in the INR extensions of the subordinate
certificate). This allows the entity that issues the trust anchor to
keep the corresponding private key of this certificate offline, while
issuing all relevant child certificates under the immediate
subordinate CA. This measure also allows the Certificate Revocation
List (CRL) issued by that entity to be used to revoke the subordinate
CA certificate in the event of suspected key compromise of this
online operational key pair that is potentially more vulnerable.
The trust anchor MUST be published at a stable URI. When the trust
anchor is reissued for any reason, the replacement CA certificate
MUST be accessible using the same URI.
Because the trust anchor is a self-signed certificate, there is no
corresponding CRL that can be used to revoke it, nor is there a
manifest [<a href="./rfc6486" title=""Manifests for the Resource Public Key Infrastructure (RPKI)"">RFC6486</a>] that lists this certificate.
If an entity wishes to withdraw a self-signed CA certificate as a
putative trust anchor, for any reason, including key rollover, the
entity MUST remove the object from the location referenced in the
TAL.
Where the TAL contains two or more rsync URIs, then the same self-
signed CA certificate MUST be found at each referenced location. In
order to increase operational resilience, it is RECOMMENDED that the
domain name parts of each of these URIs resolve to distinct IP
<span class="grey">Huston, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
addresses that are used by a diverse set of repository publication
points, and these IP addresses be included in distinct Route Origin
Authorizations (ROAs) objects signed by different CAs.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Example</span>
rsync://rpki.example.org/rpki/hedgehog/root.cer
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAovWQL2lh6knDx
GUG5hbtCXvvh4AOzjhDkSHlj22gn/1oiM9IeDATIwP44vhQ6L/xvuk7W6
Kfa5ygmqQ+xOZOwTWPcrUbqaQyPNxokuivzyvqVZVDecOEqs78q58mSp9
nbtxmLRW7B67SJCBSzfa5XpVyXYEgYAjkk3fpmefU+AcxtxvvHB5OVPIa
BfPcs80ICMgHQX+fphvute9XLxjfJKJWkhZqZ0v7pZm2uhkcPx1PMGcrG
ee0WSDC3fr3erLueagpiLsFjwwpX6F+Ms8vqz45H+DKmYKvPSstZjCCq9
aJ0qANT9OtnfSDOS+aLRPjZryCNyvvBHxZXqj5YCGKtwIDAQAB
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Relying Party Use</span>
In order to use the TAL to retrieve and validate a (putative) trust
anchor, an RP SHOULD:
1. Retrieve the object referenced by (one of) the URI(s) contained
in the TAL.
2. Confirm that the retrieved object is a current, self-signed RPKI
CA certificate that conforms to the profile as specified in
[<a href="./rfc6487" title=""A Profile for X.509 PKIX Resource Certificates"">RFC6487</a>].
3. Confirm that the public key in the TAL matches the public key in
the retrieved object.
4. Perform other checks, as deemed appropriate (locally), to ensure
that the RP is willing to accept the entity publishing this self-
signed CA certificate to be a trust anchor. These tests apply to
the validity of attestations made in the context of the RPKI
relating to all resources described in the INR extension of this
certificate.
An RP SHOULD perform these functions for each instance of TAL that it
is holding for this purpose every time the RP performs a
resynchronization across the local repository cache. In any case, an
RP also SHOULD perform these functions prior to the expiration of the
locally cached copy of the retrieved trust anchor referenced by the
TAL.
<span class="grey">Huston, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
In the case where a TAL contains multiple URIs, an RP MAY use a
locally defined preference rule to select the URI to retrieve the
self-signed RPKI CA certificate that is to be used as a trust anchor.
Some examples are:
o Using the order provided in the TAL
o Selecting the URI randomly from the available list
o Creating a prioritized list of URIs based on RP-specific
parameters, such as connection establishment delay
If the connection to the preferred URI fails, or the retrieved CA
certificate public key does not match the TAL public key, the RP
SHOULD retrieve the CA certificate from the next URI, according to
the local preference ranking of URIs.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
Compromise of a trust anchor private key permits unauthorized parties
to masquerade as a trust anchor, with potentially severe
consequences. Reliance on an inappropriate or incorrect trust anchor
has similar potentially severe consequences.
This TAL does not directly provide a list of resources covered by the
referenced self-signed CA certificate. Instead, the RP is referred
to the trust anchor itself and the INR extension(s) within this
certificate. This provides necessary operational flexibility, but it
also allows the certificate issuer to claim to be authoritative for
any resource. Relying parties should either have great confidence in
the issuers of such certificates that they are configuring as trust
anchors, or they should issue their own self-signed certificate as a
trust anchor and, in doing so, impose constraints on the subordinate
certificates.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. References</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Normative References</span>
[<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>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3779">RFC3779</a>] Lynn, C., Kent, S., and K. Seo, "X.509 Extensions for IP
Addresses and AS Identifiers", <a href="./rfc3779">RFC 3779</a>,
DOI 10.17487/RFC3779, June 2004,
<<a href="http://www.rfc-editor.org/info/rfc3779">http://www.rfc-editor.org/info/rfc3779</a>>.
<span class="grey">Huston, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
[<a id="ref-RFC4648">RFC4648</a>] Josefsson, S., "The Base16, Base32, and Base64 Data
Encodings", <a href="./rfc4648">RFC 4648</a>, DOI 10.17487/RFC4648, October 2006,
<<a href="http://www.rfc-editor.org/info/rfc4648">http://www.rfc-editor.org/info/rfc4648</a>>.
[<a id="ref-RFC5280">RFC5280</a>] 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", <a href="./rfc5280">RFC 5280</a>, DOI 10.17487/RFC5280, May 2008,
<<a href="http://www.rfc-editor.org/info/rfc5280">http://www.rfc-editor.org/info/rfc5280</a>>.
[<a id="ref-RFC5781">RFC5781</a>] Weiler, S., Ward, D., and R. Housley, "The rsync URI
Scheme", <a href="./rfc5781">RFC 5781</a>, DOI 10.17487/RFC5781, February 2010,
<<a href="http://www.rfc-editor.org/info/rfc5781">http://www.rfc-editor.org/info/rfc5781</a>>.
[<a id="ref-RFC6487">RFC6487</a>] Huston, G., Michaelson, G., and R. Loomans, "A Profile for
X.509 PKIX Resource Certificates", <a href="./rfc6487">RFC 6487</a>,
DOI 10.17487/RFC6487, February 2012,
<<a href="http://www.rfc-editor.org/info/rfc6487">http://www.rfc-editor.org/info/rfc6487</a>>.
[<a id="ref-X.509">X.509</a>] ITU-T, "The Directory: Public-key and attribute
certificate frameworks", ITU-T Recommendation X.509,
ISO/IEC 9594-8, October 2012.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Informative References</span>
[<a id="ref-RFC4158">RFC4158</a>] Cooper, M., Dzambasow, Y., Hesse, P., Joseph, S., and R.
Nicholas, "Internet X.509 Public Key Infrastructure:
Certification Path Building", <a href="./rfc4158">RFC 4158</a>,
DOI 10.17487/RFC4158, September 2005,
<<a href="http://www.rfc-editor.org/info/rfc4158">http://www.rfc-editor.org/info/rfc4158</a>>.
[<a id="ref-RFC5914">RFC5914</a>] Housley, R., Ashmore, S., and C. Wallace, "Trust Anchor
Format", <a href="./rfc5914">RFC 5914</a>, DOI 10.17487/RFC5914, June 2010,
<<a href="http://www.rfc-editor.org/info/rfc5914">http://www.rfc-editor.org/info/rfc5914</a>>.
[<a id="ref-RFC6480">RFC6480</a>] Lepinski, M. and S. Kent, "An Infrastructure to Support
Secure Internet Routing", <a href="./rfc6480">RFC 6480</a>, DOI 10.17487/RFC6480,
February 2012, <<a href="http://www.rfc-editor.org/info/rfc6480">http://www.rfc-editor.org/info/rfc6480</a>>.
[<a id="ref-RFC6486">RFC6486</a>] Austein, R., Huston, G., Kent, S., and M. Lepinski,
"Manifests for the Resource Public Key Infrastructure
(RPKI)", <a href="./rfc6486">RFC 6486</a>, DOI 10.17487/RFC6486, February 2012,
<<a href="http://www.rfc-editor.org/info/rfc6486">http://www.rfc-editor.org/info/rfc6486</a>>.
<span class="grey">Huston, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7730">RFC 7730</a> RPKI Trust Anchor Locator January 2016</span>
Acknowledgments
This approach to trust anchor material was originally described by
Robert Kisteleki.
The authors acknowledge the contributions of Rob Austein and Randy
Bush, who assisted with drafting this document and with helpful
review comments.
The authors acknowledge with work of Roque Gagliano, Terry Manderson,
and Carlos Martinez Cagnazzo in developing the ideas behind the
inclusion of multiple URIs in the TAL.
Authors' Addresses
Geoff Huston
APNIC
Email: gih@apnic.net
URI: <a href="http://www.apnic.net">http://www.apnic.net</a>
Samuel Weiler
Parsons
7110 Samuel Morse Drive
Columbia, MD 21046
United States
Email: weiler@tislabs.com
George Michaelson
APNIC
Email: ggm@apnic.net
URI: <a href="http://www.apnic.net">http://www.apnic.net</a>
Stephen Kent
BBN Technologies
10 Moulton St.
Cambridge, MA 02138
United States
Email: kent@bbn.com
Huston, et al. Standards Track [Page 8]
</pre>
|