Internet-Draft | rdap-rpki | October 2024 |
Singh & Newton | Expires 12 April 2025 | [Page] |
The Resource Public Key Infrastructure (RPKI) is used to secure inter-domain routing on the internet. This document defines a new Registration Data Access Protocol (RDAP) extension, "rpki1", for accessing the RPKI registration data in the Internet Number Registry System (INRS) through RDAP. The Internet Number Registry System (INRS) is composed of Regional Internet Registries (RIRs), National Internet Registries (NIRs), and Local Internet Registries (LIRs).¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 12 April 2025.¶
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) 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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The network operators are increasingly deploying the Resource Public Key Infrastructure (RPKI, [RFC6480]) to secure inter-domain routing ([RFC4271]) on the internet. RPKI enables Internet Number Resource (INR) holders to cryptographically assert about their registered IP addresses and autonomous system numbers to prevent route hijacks and leaks. To that end, RPKI defines the following cryptographic profiles:¶
This document defines a new RDAP extension, "rpki1", for accessing the RPKI registration data within the Internet Number Registry System (INRS) for aforementioned RPKI profiles through RDAP. The Internet Number Registry System (INRS) is composed of Regional Internet Registries (RIRs), National Internet Registries (NIRs), and Local Internet Registries (LIRs).¶
The motivation here is that such RDAP data could complement the existing RPKI diagnostic tools when troubleshooting a route hijack or leak, by conveniently providing access to registration information from a registry's database beside what is inherently available from an RPKI profile object. There is registration metadata that is often needed for troubleshooting that does not appear in, say, a ROA or a VRP (Verified ROA Payload); such as:¶
Furthermore, correlating registered RPKI data with registered IP networks and autonomous system numbers would also give access to the latter's contact information through RDAP entity objects, which should aid troubleshooting.¶
In addition to troubleshooting, serving RPKI meta-data over RDAP offers a convenience to network operators through a simple lookup mechanism. As is demonstrated in [RDAP-GUIDE], constructing custom RDAP scripts is relatively easy and beneficial to network operators for the purposes of reporting. Though not RDAP-based, systems such as [JDR] and [CLOUDFLARE] have shown the utility of an approach that allows users to explore the RPKI hierarchy in a visual fashion, without interacting with the signed objects directly.¶
For these purposes, this specification defines RDAP object classes, as well as lookup and search path segments, for the ROA, ASPA, and X.509 resource certificate registration data.¶
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [BCP14] when, and only when, they appear in all capitals, as shown here.¶
Indentation and whitespace in examples are provided only to illustrate element relationships, and are not a REQUIRED feature of this protocol.¶
"..." in examples is used as shorthand for elements defined outside of this document.¶
The RDAP object classes for RPKI (Section 3.1, Section 4.1, Section 5.1) can contain one or more of the following common members:¶
"rpkiType" -- a string literal representing various combinations of an RPKI repository and a Certification Authority (CA), with the following possible values:¶
The Route Origin Authorization (ROA) object class can contain the following members:¶
"roaIpAddresses" -- an array of objects representing CIDR address blocks within a ROA; such an object can contain the following members:¶
Here is an elided example of a ROA object:¶
{ "objectClassName": "rpki1_roa", "handle": "XXXX", "name": "ROA-1", "roaIpAddresses": [ { "startAddress": "2001:db8::", "prefixLength": 48, "ipVersion": "v6", "maxLength": 64 }, ... ], "originAutnum": 65536, "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": true, "publicationUri": "rsync://example.net/path/to/XXXX.roa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/roa/XXXX", "rel": "self", "href": "https://example.net/rdap/rpki1/roa/XXXX", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/roa/XXXX", "rel": "related", "href": "https://example.net/rdap/ip/2001:db8::/48", "type": "application/rdap+json" }, ... ], "remarks": [ { "description": [ "A ROA object in RDAP" ] } ] }¶
The resource type path segment for exact or closest match lookup of a ROA object is "rpki1/roa".¶
The following lookup path segments are defined for a ROA object:¶
Syntax: rpki1/roa/<handle>¶
Syntax: rpki1/roa/<IP address>¶
Syntax: rpki1/roa/<CIDR prefix>/<CIDR length>¶
A lookup query for ROA information by handle is specified using this form:¶
rpki1/roa/XXXX¶
XXXX is a string representing the "handle" property of a ROA, as described in Section 3.1. The following URL would be used to find information for a ROA that exactly matches the "8a848ab0729f0f4f0173ba2013bc5eb3" handle:¶
https://example.net/rdap/rpki1/roa/8a848ab0729f0f4f0173ba2013bc5eb3¶
A lookup query for ROA information by IP address is specified using this form:¶
rpki1/roa/YYYY¶
YYYY is a string representing an IPv4 or IPv6 address. The following URL would be used to find information for a ROA that completely encompasses the "192.0.2.0" IP address:¶
https://example.net/rdap/rpki1/roa/192.0.2.0¶
A lookup query for ROA information by CIDR is specified using this form:¶
rpki1/roa/YYYY/ZZZZ¶
YYYY is an IP address representing the "startAddress" property of a CIDR address block within a ROA and ZZZZ is a CIDR length representing its "prefixLength" property, as described in Section 3.1. The following URL would be used to find information for the most-specific ROA matching the "2001:db8::/64" CIDR:¶
https://example.net/rdap/rpki1/roa/2001%3Adb8%3A%3A%2F64¶
In the "links" array of a ROA object, the context URI ("value" member) of each link should be the lookup URL by its handle, and if that's not available, then the lookup URL by one of its IP addresses.¶
The resource type path segment for searching ROA objects is "rpki1/roas".¶
The following search path segments are defined for ROA objects:¶
Syntax: rpki1/roas?name=<name search pattern>¶
Syntax: rpki1/roas?originAutnum=<autonomous system number>¶
Searches for ROA information by name are specified using this form:¶
rpki1/roas?name=XXXX¶
XXXX is a search pattern per Section 4.1 of [RFC9082], representing the "name" property of a ROA, as described in Section 3.1. The following URL would be used to find information for ROA names matching the "ROA-*" pattern:¶
https://example.net/rdap/rpki1/roas?name=ROA-*¶
Searches for ROA information by origin autonomous system number are specified using this form:¶
rpki1/roas?originAutnum=BBBB¶
BBBB is an autonomous system number representing the "originAutnum" property of a ROA, as described in Section 3.1. The following URL would be used to find information for ROAs with origin autonomous system number 65536:¶
https://example.net/rdap/rpki1/roas?originAutnum=65536¶
The ROA search results are returned in the "rpki1_roaSearchResults" member, which is an array of ROA objects (Section 3.1).¶
Here is an elided example of the search results when finding information for ROAs with origin autonomous system number 65536:¶
{ "rdapConformance": [ "rdap_level_0", "rpki1", ... ], ... "rpki1_roaSearchResults": [ { "objectClassName": "rpki1_roa", "handle": "XXXX", "name": "ROA-1", "roaIpAddresses": [ { "startAddress": "2001:db8::", "prefixLength": 48, "ipVersion": "v6", "maxLength": 64 }, ... ], "originAutnum": 65536, "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": true, "publicationUri": "rsync://example.net/path/to/XXXX.roa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/roa/XXXX", "rel": "self", "href": "https://example.net/rdap/rpki1/roa/XXXX", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/roa/XXXX", "rel": "related", "href": "https://example.net/rdap/ip/2001:db8::/48", "type": "application/rdap+json" }, ... ] }, ... ] }¶
Per Section 2 of [RFC9536], if a server receives a reverse search query with a searchable resource type of "ips" (Section 5 of [I-D.ietf-regext-rdap-rir-search]), a related resource type of "rpki1_roa", and a ROA property of "originAutnum" or "startAddress", then the reverse search will be performed on the IP network objects from its data store.¶
Section 8.2 and Section 8.3 include registration of entries for IP network searches in the RDAP Reverse Search and RDAP Reverse Search Mapping IANA registries when the related resource type is "rpki1_roa".¶
It would be useful to show all the ROAs associated with an IP network object. To that end, this extension adds a new "rpki1_roas" member to the IP Network object class (Section 5.4 of [RFC9083]):¶
Here is an elided example for an IP network object with ROAs:¶
{ "objectClassName": "ip network", "handle": "ZZZZ-RIR", "startAddress": "2001:db8::", "endAddress": "2001:db8:ffff:ffff:ffff:ffff:ffff:ffff", "ipVersion": "v6", ... "rpki1_roas": [ { "objectClassName": "rpki1_roa", "handle": "XXXX", "name": "ROA-1", "roaIpAddresses": [ { "startAddress": "2001:db8::", "prefixLength": 48, "ipVersion": "v6", "maxLength": 64 }, ... ], "originAutnum": 65536, "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": true, "publicationUri": "rsync://example.net/path/to/XXXX.roa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/roa/XXXX", "rel": "self", "href": "https://example.net/rdap/rpki1/roa/XXXX", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/roa/XXXX", "rel": "related", "href": "https://example.net/rdap/ip/2001:db8::/48", "type": "application/rdap+json" }, ... ] }, { "objectClassName": "rpki1_roa", "handle": "YYYY", "name": "ROA-2", "roaIpAddresses": [ { "startAddress": "2001:db8:1::", "prefixLength": 48, "ipVersion": "v6", "maxLength": 64 }, ... ], "originAutnum": 65537, "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": false, "publicationUri": "rsync://example.net/path/to/YYYY.roa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/roa/YYYY", "rel": "self", "href": "https://example.net/rdap/rpki1/roa/YYYY", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/roa/YYYY", "rel": "related", "href": "https://example.net/rdap/ip/2001:db8:1::/48", "type": "application/rdap+json" }, ... ] }, ... ] }¶
The Autonomous System Provider Authorization (ASPA) object class can contain the following members:¶
Here is an elided example of an ASPA object:¶
{ "objectClassName": "rpki1_aspa", "handle": "XXXX", "name": "ASPA-1", "autnum": 65536, "providerAutnums": [ 65542, ... ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": true, "publicationUri": "rsync://example.net/path/to/XXXX.aspa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/aspa/XXXX", "rel": "self", "href": "https://example.net/rdap/rpki1/aspa/XXXX", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/aspa/XXXX", "rel": "related", "href": "https://example.net/rdap/autnum/65536", "type": "application/rdap+json" }, ... ], "remarks": [ { "description": [ "An ASPA object in RDAP" ] } ] }¶
The resource type path segment for exact match lookup of an ASPA object is "rpki1/aspa".¶
The following lookup path segments are defined for an ASPA object:¶
Syntax: rpki1/aspa/<handle>¶
Syntax: rpki1/aspa/<autonomous system number>¶
A lookup query for ASPA information by handle is specified using this form:¶
rpki1/aspa/XXXX¶
XXXX is a string representing the "handle" property of an ASPA, as described in Section 4.1. The following URL would be used to find information for an ASPA that exactly matches the "47ab80ed8693f25d0187d93a07db4484" handle:¶
https://example.net/rdap/rpki1/aspa/47ab80ed8693f25d0187d93a07db4484¶
A lookup query for ASPA information by autonomous system number is specified using this form:¶
rpki1/aspa/YYYY¶
YYYY is an autonomous system number representing the "autnum" property of an ASPA, as described in Section 4.1. The following URL would be used to find information for an ASPA with autonomous system number 65536:¶
https://example.net/rdap/rpki1/aspa/65536¶
In the "links" array of an ASPA object, the context URI ("value" member) of each link should be the lookup URL by its handle, and if that's not available, then the lookup URL by its autonomous system number.¶
The resource type path segment for searching ASPA objects is "rpki1/aspas".¶
The following search path segments are defined for ASPA objects:¶
Syntax: rpki1/aspas?name=<name search pattern>¶
Syntax: rpki1/aspas?providerAutnum=<autonomous system number>¶
Searches for ASPA information by name are specified using this form:¶
rpki1/aspas?name=XXXX¶
XXXX is a search pattern per Section 4.1 of [RFC9082], representing the "name" property of an ASPA, as described in Section 4.1. The following URL would be used to find information for ASPA names matching the "ASPA-*" pattern:¶
https://example.net/rdap/rpki1/aspas?name=ASPA-*¶
Searches for ASPA information by provider autonomous system number are specified using this form:¶
rpki1/aspas?providerAutnum=YYYY¶
YYYY is an autonomous system number within the "providerAutnums" property of an ASPA, as described in Section 4.1. The following URL would be used to find information for ASPAs with provider autonomous system number 65542:¶
https://example.net/rdap/rpki1/aspas?providerAutnum=65542¶
The ASPA search results are returned in the "rpki1_aspaSearchResults" member, which is an array of ASPA objects (Section 4.1).¶
Here is an elided example of the search results when finding information for ASPAs with provider autonomous system number 65542:¶
{ "rdapConformance": [ "rdap_level_0", "rpki1", ... ], ... "rpki1_aspaSearchResults": [ { "objectClassName": "rpki1_aspa", "handle": "XXXX", "name": "ASPA-1", "autnum": 65536, "providerAutnums": [ 65542, ... ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": true, "publicationUri": "rsync://example.net/path/to/XXXX.aspa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/aspa/XXXX", "rel": "self", "href": "https://example.net/rdap/rpki1/aspa/XXXX", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/aspa/XXXX", "rel": "related", "href": "https://example.net/rdap/autnum/65536", "type": "application/rdap+json" }, ... ], ... }, ... ] }¶
Per Section 2 of [RFC9536], if a server receives a reverse search query with a searchable resource type of "autnums" (Section 5 of [I-D.ietf-regext-rdap-rir-search]), a related resource type of "rpki1_aspa", and an ASPA property of "autnum" or "providerAutnum", then the reverse search will be performed on the autonomous system number objects from its data store.¶
Section 8.2 and Section 8.3 include registration of entries for autonomous system number searches in the RDAP Reverse Search and RDAP Reverse Search Mapping IANA registries when the related resource type is "rpki1_aspa".¶
It would be useful to show all the ASPAs associated with an autonomous system number object. To that end, this extension adds a new "rpki1_aspas" member to the Autonomous System Number object class (Section 5.5 of [RFC9083]):¶
Here is an elided example for an autonomous system number object with ASPAs:¶
{ "objectClassName": "autnum", "handle": "ZZZZ-RIR", "startAutnum": 65536, "endAutnum": 65541, ... "rpki1_aspas": [ { "objectClassName": "rpki1_aspa", "handle": "XXXX", "name": "ASPA-1", "autnum": 65536, "providerAutnums": [ 65542, ... ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": true, "publicationUri": "rsync://example.net/path/to/XXXX.aspa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/aspa/XXXX", "rel": "self", "href": "https://example.net/rdap/rpki1/aspa/XXXX", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/aspa/XXXX", "rel": "related", "href": "https://example.net/rdap/autnum/65536", "type": "application/rdap+json" }, ... ], ... }, { "objectClassName": "rpki1_aspa", "handle": "YYYY", "name": "ASPA-2", "autnum": 65537, "providerAutnums": [ 65543, ... ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "autoRenewed": false, "publicationUri": "rsync://example.net/path/to/YYYY.aspa", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/aspa/YYYY", "rel": "self", "href": "https://example.net/rdap/rpki1/aspa/YYYY", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/aspa/YYYY", "rel": "related", "href": "https://example.net/rdap/autnum/65537", "type": "application/rdap+json" }, ... ], ... }, ... ] }¶
The X.509 resource certificate object class can contain the following members:¶
"subjectPublicKeyInfo" -- an object representing the subject's public key information (Section 4.7 of [RFC6487]), with the following members:¶
Here is an elided example of an X.509 resource certificate object -- specifically, a BGPSec router certificate ([RFC8209]) where an ASN(s) holder cryptographically asserts that a router holding the corresponding private key is authorized to emit secure route advertisements on behalf of the AS(es) specified in the certificate:¶
{ "objectClassName": "rpki1_x509_resource_cert", "handle": "ABCD", "serialNumber": "1234", "issuer": "CN=ISP-CA", "signatureAlgorithm": "ecdsa-with-SHA256", "subject": "CN=BGPSEC-ROUTER", "subjectPublicKeyInfo": { "publicKeyAlgorithm": "id-ecPublicKey", "publicKey": "..." }, "subjectKeyIdentifier": "hOcGgxqXDa7mYv78fR+sGBKMtWJqItSLfaIYJDKYi8A=", "autnums": [ 65536, 65537 ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "publicationUri": "rsync://example.net/path/to/ABCD.cer", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "self", "href": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/autnum/65536", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/autnum/65537", "type": "application/rdap+json" }, ... ], "remarks": [ { "description": [ "An X.509 resource certificate object in RDAP" ] } ] }¶
The resource type path segment for exact match lookup of an X.509 resource certificate object is "rpki1/x509_resource_cert".¶
The following lookup path segment is defined for an X.509 resource certificate object:¶
Syntax: rpki1/x509_resource_cert/<handle>¶
For example:¶
https://example.net/rdap/rpki1/x509_resource_cert/ABCD¶
The resource type path segment for searching X.509 resource certificate objects is "rpki1/x509_resource_certs".¶
The following search path segments are defined for X.509 resource certificate objects:¶
Syntax: rpki1/x509_resource_certs?handle=<handle search pattern>¶
Syntax: rpki1/x509_resource_certs?issuer=<issuer search pattern>¶
Syntax: rpki1/x509_resource_certs?subject=<subject search pattern>¶
Syntax: rpki1/x509_resource_certs?subjectKeyIdentifier=<subject key identifier>¶
Syntax: rpki1/x509_resource_certs?ip=<IP address>¶
Syntax: rpki1/x509_resource_certs?cidr=<CIDR>¶
Syntax: rpki1/x509_resource_certs?autnum=<autonomous system number>¶
Searches for X.509 resource certificate information by handle are specified using this form:¶
rpki1/x509_resource_certs?handle=XXXX¶
XXXX is a search pattern per Section 4.1 of [RFC9082], representing the "handle" property of an X.509 resource certificate object, as described in Section 5.1. The following URL would be used to find information for X.509 resource certificate objects with handle matching the "ABC*" pattern:¶
https://example.net/rdap/rpki1/x509_resource_certs?handle=ABC*¶
Searches for X.509 resource certificate information by certificate issuer are specified using this form:¶
rpki1/x509_resource_certs?issuer=YYYY¶
YYYY is a search pattern per Section 4.1 of [RFC9082], representing the "issuer" property of an X.509 resource certificate object, as described in Section 5.1. The following URL would be used to find information for X.509 resource certificate objects with issuer matching the "CN=ISP-*" pattern:¶
https://example.net/rdap/rpki1/x509_resource_certs?issuer=CN%3DISP-*¶
Searches for X.509 resource certificate information by certificate subject are specified using this form:¶
rpki1/x509_resource_certs?subject=ZZZZ¶
ZZZZ is a search pattern per Section 4.1 of [RFC9082], representing the "subject" property of an X.509 resource Certificate object, as described in Section 5.1. The following URL would be used to find information for X.509 resource certificate objects with subject matching the "CN=BGPSEC-ROUTE*" pattern:¶
https://example.net/rdap/rpki1/x509_resource_certs?subject=CN%3DBGPSEC-ROUTE*¶
Searches for X.509 resource certificate information by subject key identifier are specified using this form:¶
rpki1/x509_resource_certs?subjectKeyIdentifier=BBBB¶
BBBB is a string representing the "subjectKeyIdentifier" property of an X.509 resource certificate object, as described in Section 5.1. The following URL would be used to find an X.509 resource certificate object with subject key identifier matching the "hOcGgxqXDa7mYv78fR+sGBKMtWJqItSLfaIYJDKYi8A=" string:¶
https://example.net/rdap/rpki1/x509_resource_certs?subjectKeyIdentifier=hOcGgxqXDa7mYv78fR+sGBKMtWJqItSLfaIYJDKYi8A=¶
Searches for X.509 resource certificate information by an IP address are specified using this form:¶
rpki1/x509_resource_certs?ip=CCCC¶
CCCC is a string representing an IPv4 or IPv6 address. The following URL would be used to find information for X.509 resource certificate objects with the "ips" member encompassing the "192.0.2.0" IP address:¶
https://example.net/rdap/rpki1/x509_resource_certs?ip=192.0.2.0¶
Similarly, for the "2001:db8::" IP address:¶
https://example.net/rdap/rpki1/x509_resource_certs?ip=2001%3Adb8%3A%3A¶
Searches for X.509 resource certificate information by a CIDR are specified using this form:¶
rpki1/x509_resource_certs?cidr=CCCC/DDDD¶
"CCCC/DDDD" is a string representing an IPv4 or IPv6 CIDR, with CCCC as the CIDR prefix and DDDD as the CIDR length. The following URL would be used to find information for X.509 resource certificate objects with the "ips" member encompassing the "192.0.2.0/25" CIDR:¶
https://example.net/rdap/rpki1/x509_resource_certs?cidr=192.0.2.0%2F25¶
Similarly, for the "2001:db8::/64" CIDR:¶
https://example.net/rdap/rpki1/x509_resource_certs?cidr=2001%3Adb8%3A%3A%2F64¶
Searches for X.509 resource certificate information by an autonomous system number are specified using this form:¶
rpki1/x509_resource_certs?autnum=EEEE¶
EEEE is an autonomous system number within the "autnums" property of an X.509 resource certificate object, as described in Section 5.1. The following URL would be used to find information for X.509 resource certificate objects with the "autnums" member including autonomous system number 65536:¶
https://example.net/rdap/rpki1/x509_resource_certs?autnum=65536¶
The X.509 resource certificate search results are returned in the "rpki1_x509ResourceCertSearchResults" member, which is an array of X.509 resource certificate objects (Section 5.1).¶
Here is an elided example of the search results when finding information for X.509 resource certificate objects with issuer matching the "CN=ISP-*" pattern:¶
{ "rdapConformance": [ "rdap_level_0", "rpki1", ... ], ... "rpki1_x509ResourceCertSearchResults": [ { "objectClassName": "rpki1_x509_resource_cert", "handle": "ABCD", "serialNumber": "1234", "issuer": "CN=ISP-CA", "signatureAlgorithm": "ecdsa-with-SHA256", "subject": "CN=BGPSEC-ROUTER", "subjectPublicKeyInfo": { "publicKeyAlgorithm": "id-ecPublicKey", "publicKey": "..." }, "subjectKeyIdentifier": "hOcGgxqXDa7mYv78fR+sGBKMtWJqItSLfaIYJDKYi8A=", "autnums": [ 65536, 65537 ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "publicationUri": "rsync://example.net/path/to/ABCD.cer", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "self", "href": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/autnum/65536", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/autnum/65537", "type": "application/rdap+json" }, ... ], ... }, ... ] }¶
Per Section 2 of [RFC9536], if a server receives a reverse search query with a searchable resource type of "ips" (Section 5 of [I-D.ietf-regext-rdap-rir-search]), a related resource type of "rpki1_x509_resource_cert", and an X.509 Resource Certificate property of "handle", then the reverse search will be performed on the IP network objects from its data store.¶
Similarly, if a server receives a reverse search query with a searchable resource type of "autnums", a related resource type of "rpki1_x509_resource_cert", and an X.509 Resource Certificate property of "handle", then the reverse search will be performed on the autonomous system number objects.¶
Section 8.2 and Section 8.3 include registration of entries for IP network and autonomous system number searches in the RDAP Reverse Search and RDAP Reverse Search Mapping IANA registries when the related resource type is "rpki1_x509_resource_cert".¶
It would be useful to show all the X.509 resource certificates associated with an object of another RDAP class; in particular, with an IP network object, an autonomous system number object, or an entity (organization) object. To that end, this extension adds a new "rpki1_x509_resource_certs" member to the IP Network (Section 5.4 of [RFC9083]), Autonomous System Number (Section 5.5 of [RFC9083]), and Entity (Section 5.1 of [RFC9083]) object classes:¶
Here is an elided example for an entity (organization) object with an X.509 resource certificate -- specifically, a CA certificate that a registry issues to an organization for its allocated IP addresses and/or autonomous system numbers, authorizing the organization CA to issue end-entity certificates:¶
{ "objectClassName" : "entity", "handle":"XXXX", ... "rpki1_x509_resource_certs": [ { "objectClassName": "rpki1_x509_resource_cert", "handle": "ABCD", "serialNumber": "1234", "issuer": "CN=RIR-CA", "signatureAlgorithm": "ecdsa-with-SHA256", "subject": "CN=XXXX-CA", "subjectPublicKeyInfo": { "publicKeyAlgorithm": "id-ecPublicKey", "publicKey": "..." }, "subjectKeyIdentifier": "hOcGgxqXDa7mYv78fR+sGBKMtWJqItSLfaIYJDKYi8A=", "ips": [ "192.0.2.0/24", "2001:db8::/48" ], "autnums": [ 65536, 65537 ], "notValidBefore": "2024-04-27T23:59:59Z", "notValidAfter": "2025-04-27T23:59:59Z", "publicationUri": "rsync://example.net/path/to/ABCD.cer", "entities": [ { "objectClassName": "entity", "handle": "XYZ-RIR", ... }, ... ], "rpkiType": "hosted", "events": [ { "eventAction": "registration", "eventDate": "2024-01-01T23:59:59Z" }, ... ], "links": [ { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "self", "href": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/ip/192.0.2.0/24", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/ip/2001:db8::/48", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/autnum/65536", "type": "application/rdap+json" }, { "value": "https://example.net/rdap/rpki1/x509_resource_cert/ABCD", "rel": "related", "href": "https://example.net/rdap/autnum/65537", "type": "application/rdap+json" }, ... ], ... }, ... ] }¶
A server that supports the functionality specified in this document MUST include the "rpki1" string literal in the "rdapConformance" array of its responses.¶
The RDAP extension in this document MUST NOT be used to directly influence internet routing. Neither RDAP nor this extension define the necessary security properties or distribution mechanisms required to securely add, remove, or modify internet routes.¶
This document does not introduce any new security considerations past those already discussed in the RDAP protocol specifications ([RFC7481], [RFC9560]).¶
IANA is requested to register the following values in the RDAP Extensions Registry at https://www.iana.org/assignments/rdap-extensions/:¶
IANA is requested to register the following entries in the RDAP Reverse Search Registry at https://www.iana.org/assignments/rdap-reverse-search/:¶
IP network search by the origin autonomous system number of a ROA:¶
IP network search by the start IP address of a CIDR address block of a ROA:¶
Autonomous system number search by the autonomous system number of an ASPA:¶
Autonomous system number search by a provider autonomous system number of an ASPA:¶
IP network search by the handle of an X.509 resource certificate:¶
Autonomous system number search by the handle of an X.509 resource certificate:¶
IANA is requested to register the following entries in the RDAP Reverse Search Mapping Registry at https://www.iana.org/assignments/rdap-reverse-search-mapping/:¶
IP network search by the origin autonomous system number of a ROA:¶
IP network search by the start IP address of a CIDR address block of a ROA:¶
Autonomous system number search by the autonomous system number of an ASPA:¶
Autonomous system number search by a provider autonomous system number of an ASPA:¶
IP network search by the handle of an X.509 resource certificate:¶
Autonomous system number search by the handle of an X.509 resource certificate:¶
Job Snijders, Ties de Kock, Mark Kosters, Tim Bruijnzeels, and Bart Bakker provided valuable feedback for this document.¶