Network Working Group | J. Abley |
Internet-Draft | Dyn, Inc. |
Intended status: Informational | J. Schlyter |
Expires: June 05, 2014 | Kirei |
G. Bailey | |
Microsoft | |
December 02, 2013 |
DNSSEC Trust Anchor Publication for the Root Zone
draft-jabley-dnssec-trust-anchor-08
The root zone of the Domain Name System (DNS) has been cryptographically signed using DNS Security Extensions (DNSSEC).
In order to obtain secure answers from the root zone of the DNS using DNSSEC, a client must configure a suitable trust anchor. This document describes how such trust anchors are published.
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 http://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 June 05, 2014.
Copyright (c) 2013 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 (http://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 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.
The Domain Name System (DNS) is described in [RFC1034] and [RFC1035]. Security extensions to the DNS (DNSSEC) are described in [RFC4033], [RFC4034], [RFC4035], [RFC4509], [RFC5155] and [RFC5702].
A discussion of operational practices relating to DNSSEC can be found in [RFC6781].
In the DNSSEC protocol, resource record sets (RRSets) are signed cryptographically. This means that a response to a query contains signatures that allow the integrity and authenticity of the RRSet to be verified. Signatures are validated by following a chain of signatures to a key called a "trust anchor". The reason for trusting such a key is outside the DNSSEC protocol, but having one or more trust anchors is required for the DNSSEC protocol to work.
The publication of trust anchors for the root zone of the DNS is an IANA function performed by ICANN. A detailed description of corresponding key management practices can be found in [DPS], which can be retrieved from the IANA Repository located at https://www.iana.org/dnssec/.
This document describes the distribution of the DNSSEC trust anchors from IANA. This document is concerned only with the distribution of trust anchors for the root zone, although the data formats and the publication and retrieval methods described here might can be adapted for other uses.
Trust anchors for the root zone are published in two formats, each of which is described in this document:
Trust anchors are published in an XML document whose schema is described in Appendix A. The document contains a complete set of trust anchors for the root zone, including anchors suitable for immediate use and also historical data. Each trust anchor optionally includes one or more Certificate elements, with Uniform Resource Locators (URLs) for retrieving corresponding X.509 certificates.
Examples of trust anchors packaged and signed for publication can be found in Appendix B.
To facilitate signing the trust anchor by a public key infrastructure, trust anchors are also published as Certificate Signing Requests (CSRs) in PKCS#10 format [RFC2986].
Each CSR will have a Subject with following attributes:
Trust anchors are available for retrieval using HTTP [RFC2616].
The URL for retrieving the CSR is <http://data.iana.org/root-anchors/key-label.csr>, with "key-label" replaced by the key label of the corresponding KSK.
The URL for retrieving a signed X.509 certificate is <http://data.iana.org/root-anchors/key-label.crt>, with "key-label" again replaced as described above.
The URL for retrieving the complete trust anchor set is http://data.iana.org/root-anchors/root-anchors.xml.
The URL for a detached S/MIME [RFC5751] signature for the current trust anchor set, in XML format, is http://data.iana.org/root-anchors/root-anchors.p7s.
The URL for a detached OpenPGP [RFC4880] signature for the current trust anchor set, in XML format, is http://data.iana.org/root-anchors/root-anchors.asc.
Trust anchors are available for retrieval using HTTP over TLS [RFC2818].
The URLs specified in Section 3.1 are also available using HTTPS. That is:
The URL for retrieving the CSR is <https://data.iana.org/root-anchors/key-label.csr>, with "key-label" replaced by the key label of the corresponding KSK.
The URL for retrieving a signed X.509 certificate is <https://data.iana.org/root-anchors/key-label.crt>, with "key-label" again replaced as described above.
The URL for retrieving the complete trust anchor set is https://data.iana.org/root-anchors/root-anchors.xml.
The URL for a detached S/MIME [RFC5751] signature for the current trust anchor set is https://data.iana.org/root-anchors/root-anchors.p7s.
The URL for a detached OpenPGP [RFC4880] signature for the current trust anchor set is https://data.iana.org/root-anchors/root-anchors.asc.
TLS sessions are authenticated with certificates presented from the server. No client certificate verification is performed. The certificate presented by the server is chosen such that it can be trusted using an X.509 trust anchor that is believed to be well-known, e.g. one that corresponds to a WebTrust-accredited Certificate Authority. Other TLS authentication mechanisms may be considered in the future.
The OpenPGP [RFC4880] keys used to sign trust anchor documents carry signatures from personal keys of staff who are able to personally attest to their validity. Those staff members will continue to make their personal keys freely available for examination by third parties, e.g. by way of PGP key parties at operator and IETF meetings. In this fashion a diverse set of paths through the PGP web of trust will be maintained to the trust anchor PGP keys.
An OpenPGP keyring containing public keys pertinent to signature verification is published at http://data.iana.org/root-anchors/icann.pgp. The public keys on that keyring will also be distributed widely, e.g. to public PGP key servers.
Certificates used to create S/MIME [RFC5751] signatures for the current trust anchor set, in XML format, are signed by a Certificate Authority (CA) administered by ICANN as the IANA functions operator and also optionally by well-known (e.g. WebTrust-certified) CAs to facilitate signature validation with widely-available X.509 trust anchors.
Note: This non-normative section gives suggestions for implementing root zone trust anchor retrieval.
Root trust anchor retrieval by the HTTP or HTTP over TLS transports has several implementation considerations to ensure robustness, usability and secure operation.
The HTTP over TLS transport [RFC2818] is suggested over the unencrypted HTTP transport [RFC2616] for implementations using the XML-format root trust anchors, since the latter transport does not provide authentication. It is not suggested that implementations restrict certification path validation of the HTTP over TLS transport session to the current or historical certificate authorities used by the root trust anchor server, since doing so would reduce robustness of the implementation. It is suggested that the implementation configure the HTTP over TLS transport library to validate the certification path against certificate revocation lists [RFC5280], and reject self-signed certificates and certification paths that do not terminate in a trusted certificate authority.
Implementations can allow configuration of the URL used to retrieve the root trust anchor resources, but it is suggested that the default configuration use the URLs specified in Section 3.2.
Implementations may perform strict validation of the retrieved XML document against the XML schema; however, such an implementation would not be robust against future changes in the XML schema. It is suggested that the implementation perform "loose" validation, where unknown attributes and elements are ignored. This suggestion allows for future additions to the XML schema without affecting existing implementations.
The implementation can ignore trust anchors for which the Algorithm or DigestType elements refer to an unknown, or unsupported algorithm. Additionally, trust anchors for which the Algorithm or DigestType elements refer to a deprecated algorithm can be ignored, provided that this suggestion does not cause all trust anchors to be ignored. Further, note that these suggestions may not apply where an implementation shares trust anchors between many DNS validating resolvers, since the set of supported algorithms may vary between resolvers, and could possibly be disjoint.
The implementation can also ignore a trust anchor when the validUntil time, if present, is in the past. If the implementation also supports automated updates of trust anchors [RFC5011], it can ignore trust anchors where the current time subtracted from the validFrom time, if present, is greater than the add-hold down time [RFC5011] for the trust point.
The implementation can reject any trust anchor for a trust point other than the root zone.
Key Signing Key (KSK) management for the root zone is an IANA function. This document describes an initial set of publication mechanisms for trust anchors related to that management. In the future, additional publication schemes may also be made available, in which case they will be described in a new document that updates this one.
Existing mechanisms will not be deprecated without very strong technical justification.
This document contains information about an existing service, and has no IANA actions.
This document describes how DNSSEC trust anchors for the root zone of the DNS are published. It is to be expected that many DNSSEC clients will only configure a single trust anchor to perform validation, and that the trust anchor they use will be that of the root zone. As a consequence, reliable publication of trust anchors is important.
This document aims to specify carefully the means by which such trust anchors are published, as an aid to the formats and retrieval methods described here being integrated usefully into user environments.
Many pioneers paved the way for the deployment of DNSSEC in the root zone of the DNS, and the authors hereby acknowledge their substantial collective contribution.
This document incorporates suggestions made by Paul Hoffman and Alfred Hoenes, whose contributions are appreciated.
[DPS] | Ljunggren, F., Okubo, T., Lamb, R. and J. Schlyter, "DNSSEC Practice Statement for the Root Zone KSK Operator", May 2010. |
A Relax NG Compact Schema for the documents used to publish trust anchors can be found in Figure 1.
datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes" start = element TrustAnchor { attribute id { xsd:string }, attribute source { xsd:string }, element Zone { xsd:string }, keydigest+ } keydigest = element KeyDigest { attribute id { xsd:string }, attribute validFrom { xsd:dateTime }, attribute validUntil { xsd:dateTime }?, element KeyTag { xsd:nonNegativeInteger { maxInclusive = "65535" } }, element Algorithm { xsd:nonNegativeInteger { maxInclusive = "255" } }, element DigestType { xsd:nonNegativeInteger { maxInclusive = "255" } }, element Digest { xsd:hexBinary }, element Certificate { attribute source { xsd:string }, empty }+ }
Figure 1
Figure 2 describes two trust anchors for the root zone such as might be retrieved using the URL https://data.iana.org/root-anchors/root-anchors.xml.
<?xml version="1.0" encoding="UTF-8"?> <TrustAnchor id="AD42165F-B099-4778-8F42-D34A1D41FD93" source="http://data.iana.org/root-anchors/root-anchors.xml"> <Zone>.</Zone> <KeyDigest id="42" validFrom="2010-07-01T00:00:00-00:00" validUntil="2010-08-01T00:00:00-00:00"> <KeyTag>34291</KeyTag> <Algorithm>5</Algorithm> <DigestType>1</DigestType> <Digest>c8cb3d7fe518835490af8029c23efbce6b6ef3e2</Digest> </KeyDigest> <KeyDigest id="53" validFrom="2010-08-01T00:00:00-00:00"> <KeyTag>12345</KeyTag> <Algorithm>5</Algorithm> <DigestType>1</DigestType> <Digest>a3cf809dbdbc835716ba22bdc370d2efa50f21c7</Digest> <Certificate source="http://data.iana.org/root-anchors/Kexample1.crt"/> <Certificate source="http://data.iana.org/root-anchors/Kexample2.crt"/> </KeyDigest> </TrustAnchor>
Figure 2
ResourceRecord { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) id-mod-dns-resource-record(70) } DEFINITIONS IMPLICIT TAGS ::= BEGIN -- EXPORTS ALL -- IMPORTS caseIgnoreMatch FROM SelectedAttributeTypes { joint-iso-itu-t ds(5) module(1) selectedAttributeTypes(5) 4 } ; iana OBJECT IDENTIFIER ::= { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 1000 } iana-dns OBJECT IDENTIFIER ::= { iana 53 } resourceRecord ATTRIBUTE ::= { WITH SYNTAX IA5String EQUALITY MATCHING RULE caseIgnoreIA5Match ID iana-dns } END
The first KSK for use in the root zone of the DNS was generated at a key ceremony at an ICANN Key Management Facility (KMF) in Culpeper, Virginia, USA on 2010-06-16. This key entered production during a second key ceremony held at an ICANN KMF in El Segundo, California, USA on 2010-07-12. The resulting trust anchor was first published on 2010-07-15.
[RFC Editor: please remove this section, including all subsections, prior to publication.]
This document is not the product of any IETF working group. However, communities interested in similar technical work can be found at the IETF in the DNSOP and DNSEXT working groups.
The team responsible for deployment of DNSSEC in the root zone can be reached at rootsign@icann.org.
The authors also welcome feedback sent to them directly.
This document is based on earlier documentation used within and published by the team responsible for DNSSEC deployment in the root zone. This is the first revision circulated with the intention of publication in the RFC series.
Incorporated initial community suggestions. Editorial improvements. Allocate OID and clean up syntax of ASN.1 module.
Draft expired.
Added the optional <Certificate> element to the XML schema to provide a mechanism for locating external X.509 certificates relating to a particular key.
Update author address.
Update references.
Minor changes based on review by Paul Hoffman.