<?xml version="1.0"encoding="US-ASCII"?> <!-- vim:et:ts=2:sw=2:spell:spelllang=en:tw=80 --> <!-- This template is for creating an Internet Draft using xml2rfc, which is available here: http://xml.resource.org. -->encoding="UTF-8"?> <!DOCTYPE rfcSYSTEM "rfc2629.dtd"[ <!ENTITYI-D.ietf-acme-authority-token-tnauthlist SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-acme-authority-token-tnauthlist.xml"> <!ENTITY I-D.ietf-acme-star SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-acme-star.xml"> <!ENTITY I-D.ietf-acme-telephone SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-acme-telephone.xml"> <!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml"> <!ENTITY RFC8174 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8174.xml">nbsp " "> <!ENTITYRFC7515 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7515.xml">zwsp "​"> <!ENTITYRFC7519 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7519.xml">nbhy "‑"> <!ENTITYRFC7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml"> <!ENTITY RFC8226 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8226.xml"> <!ENTITY RFC8396 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8396.xml"> <!ENTITY RFC8555 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8555.xml"> <!ENTITY RFC8725 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8725.xml"> <!ENTITY RFC3986 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3986.xml"> <!ENTITY RFC4648 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4648.xml"> <!ENTITY RFC9115 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.9115.xml">wj "⁠"> ]><!--?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?--> <!-- used by XSLT processors --> <!-- For a complete list and description of processing instructions (PIs), please see http://xml.resource.org/authoring/README.html. --> <!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use. (Here they are set differently than their defaults in xml2rfc v1.32) --> <!--?rfc strict="yes" ?--> <!-- give errors regarding ID-nits and DTD validation --> <!-- control the table of contents (ToC) --> <?rfc toc="yes"?> <!-- generate a ToC --> <?rfc tocdepth="4"?> <!-- the number of levels of subsections in ToC. default: 3 --> <!-- control references --> <?rfc symrefs="yes"?> <!-- use symbolic references tags, i.e, [RFC2119] instead of [1] --> <?rfc sortrefs="yes" ?> <!-- sort the reference entries alphabetically --> <!-- control vertical white space (using these PIs as follows is recommended by the RFC Editor) --> <?rfc compact="no" ?> <!-- do not start each main section on a new page --> <?rfc subcompact="no" ?> <!-- keep one blank line between list items --> <!-- end of list of popular I-D processing instructions --><rfc xmlns:xi="http://www.w3.org/2001/XInclude" submissionType="IETF" category="std" consensus="true" docName="draft-ietf-acme-authority-token-09"ipr="trust200902"> <!-- category values: std, bcp, info, exp, and historic ipr values: trust200902, noModificationTrust200902, noDerivativesTrust200902, or pre5378Trust200902 you can add the attributes updates="NNNN" and obsoletes="NNNN" they will automatically be output with "(if approved)" -->number="9447" ipr="trust200902" obsoletes="" updates="" xml:lang="en" tocInclude="true" tocDepth="4" symRefs="true" sortRefs="true" version="3"> <!--***** FRONT MATTER *****xml2rfc v2v3 conversion 3.16.0 --> <front><!-- The abbreviated title is used in the page header - it is only necessary if the full title is longer than 39 characters --><title abbrev="ACME AuthorityToken">ACMEToken">Automated Certificate Management Environment (ACME) Challenges Using an Authority Token</title> <seriesInfo name="RFC" value="9447"/> <author initials="J." surname="Peterson" fullname="Jon Peterson"> <organization abbrev="Neustar">Neustar, Inc.</organization> <address> <email>jon.peterson@team.neustar</email> </address> </author> <author fullname="Mary Barnes" initials="M." surname="Barnes"> <organization abbrev="Neustar">Neustar, Inc.</organization> <address> <email>mary.ietf.barnes@gmail.com</email> </address> </author> <author fullname="David Hancock" initials="D." surname="Hancock"><organization>Comcast</organization><organization>Somos</organization> <address> <email>davidhancock.ietf@gmail.com</email> </address> </author> <author fullname="Chris Wendt" initials="C." surname="Wendt"> <organization>Somos</organization> <address> <email>chris-ietf@chriswendt.net</email> </address> </author> <dateyear="2022" /> <!-- <area> Security </area>-->year="2023" month="September"/> <area>sec</area> <workgroup>acme</workgroup> <keyword>ACME</keyword> <abstract> <t> Some proposed extensions to the Automated Certificate Management Environment (ACME) rely on proving eligibility for certificates through consulting an external authority that issues a token according to a particular policy. This document specifies a generic Authority TokenchallengeChallenge for ACMEwhichthat supports subtype claims for different identifiers or namespaces that can be defined separately for specific applications. </t> </abstract> </front> <middle> <sectiontitle="Introduction">numbered="true" toc="default"> <name>Introduction</name> <t> <xreftarget="RFC8555">ACME</xref>target="RFC8555" format="default">ACME</xref> is a mechanism for automating certificate management on the Internet. It enables administrative entities to prove effective control overresourcesresources, like domain names, and automates the process of issuing certificates that attest control or ownership of those resources.</t><t></t> <t> In some cases, proving effective control over an identifier requires an attestation from a third party who has authority over the resource, for example, an external policy administrator for a namespace other than the DNS application ACME was originally designed to support. In order to automate the process of issuing certificates for those resources, this specification defines a generic Authority TokenchallengeChallenge that ACME servers can issue in order to require clients to return an Authority Token that authorizes a given issuance. The challenge contains a type indication that tells the client what sort of token it needs to acquire. It is expected that the Authority TokenchallengeChallenge will be usable for a variety of identifier types. In particular, this document describes an architecture for Authority Tokens, defines a JSON Web Token(JWT,(JWT) <xreftarget="RFC7519"/>)target="RFC7519" format="default"/> Authority Token format along with a protocol for token acquisition, and shows how to integrate these tokens into an ACME challenge.</t><t></t> <t> As a concrete example, <xreftarget="I-D.ietf-acme-authority-token-tnauthlist"/>target="RFC9448" format="default"/> provides a mechanism that allows service providers to acquire certificates corresponding to a Service Provider Code (SPC) as defined in <xreftarget="RFC8226"/>target="RFC8226" format="default"/> by consulting an external authority responsible for those codes. Furthermore, Communications Service Providers (CSPs) can delegate authority over numbers to their customers, and those CSPs who support ACME can then help customers to acquire certificates for those numbering resources with ACME. This can permit number acquisition flows compatible with those shown in <xreftarget="RFC8396"/>.target="RFC8396" format="default"/>. </t> </section> <sectiontitle="Terminology"> <t>Thenumbered="true" toc="default"> <name>Requirements Language</name> <t> The key words"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY","<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>", "<bcp14>MAY</bcp14>", and"OPTIONAL""<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described inBCP 14BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shownhere.</t>here. </t> </section> <section anchor="challenges"title="ACMEnumbered="true" toc="default"> <name>ACME Authority TokenChallenge">Challenge</name> <t> Proving that a device on the Internet has effective control over a non-Internet resource is not as straightforward as proving control overanInternetresourcesresources, like a DNS zone or a web page. Provided that the issuer of identifiers in a namespace, or someone acting on the issuer's behalf, can implement a service that grants Authority Tokens to the people to whom it has issued identifiers, a generic token could be used as a response to an ACME challenge. This specification, therefore, defines an Authority Token issued by an authority over a namespace to an ACME client for delivery to an ACME server in response to a challenge. Authority over a hierarchical namespace can also bedelegated,delegated so that delegates of a root authority can themselves act as Token Authorities for certain types of names.</t><t></t> <t> This architecture assumes a trust relationship betweenCAscertification authorities (CAs) and TokenAuthorities:Authorities, i.e., that CAs are willing to accept the attestation of Token Authorities for particular types of identifiers as sufficient proof to issue a credential. It furthermore assumes that ACME clients have a relationship with TokenAuthoritiesAuthorities, which permits them to authenticate and authorize the issuance of Authority Tokens to the proper entities. This ACME challenge has no applicability to identifiers or authorities where those pre-associations cannot be assumed.</t><t></t> <t> The ACME Authority Token Challenge type, "tkauth-01", is here specified for use with the "TNAuthList" (Telephone Number Authentication List) ACME Identifier Type described in <xreftarget="I-D.ietf-acme-authority-token-tnauthlist"/>;target="RFC9448" format="default"/>; in order to use the "tkauth-01" Validation Method with an ACME IdentifiertypeType other than"TNAuthList,""TNAuthList", that identifier type would need to be listed in a new registration in the ACME Validation Methods registry maintained by IANA. "tkauth-01" furthermore supports different token subtypes. The token subtype is determined by a new ACME challenge field, tkauth-type. An IANA registry is used to manage the values oftkauth-type, seetkauth-type (see <xreftarget="IANA-3"/>.target="IANA-3" format="default"/>). Additionally, this challenge type also has a new "token-authority" field to designate a location where a token can be acquired. </t> <section anchor="req"title="Tokennumbered="true" toc="default"> <name>Token TypeRequirements">Requirements</name> <t>TheIANA will maintain a registry of tkauth-types under a policy of Specification Required. In order to register a new tkauth-type, specifications must address the following requirements; in cases where a tkauth-type admits of its own subtypes, subtypes inherit these requirements.</t><t></t> <t> While Authority Token types do not need to be specific to a namespace, every token must carry enough information for a CA to determine the name for which certificate issuance is authorized. Some types of Authority Token types might be reusable for a number of different namespaces; others might be specific to a particular type of name. Therefore, in defining tkauth-types, future specifications must indicate how a token conveys to the CA the name(s) that the Token Authority is attesting that the ACME client controls.</t><t></t> <t> While nothing precludes use cases where an ACME client is itself a Token Authority, an ACME client will typically need a protocol to request and retrieve an Authority Token. The Token Authority will require certain information from an ACME client in order to ascertain that it is an authorized entity to request a certificate for a particular name. The protocols used to request an Authority TokenMUST<bcp14>MUST</bcp14> convey to the Token Authority the identifier type and value that will be used in the ACME challenge, as well as the binding (see <xreftarget="bind"/>),target="bind" format="default"/>), and thoseMUST<bcp14>MUST</bcp14> be reflected in the Authority Token. A baseline mechanism for how the Token Authority authenticates and authorizes ACME clients to receive Authority Tokens is given in <xreftarget="acquire"/>. </t><t>target="acquire" format="default"/>. </t> <t> Because the assignment of resources can change over time, demonstrations of authority must be regularly refreshed. Definitions of a tkauth-typeMUST<bcp14>MUST</bcp14> specify how they manage the freshness of authority assignments. Typically, a CA will expect a regular refreshing of the token. </t> </section> <section anchor="scope"title="Authoritynumbered="true" toc="default"> <name>Authority TokenScope">Scope</name> <t> An Authority Token is used to answer a challenge from an ACME server, upon a request for the issuance of a certificate. It could be that the Authority Token is requested from the Token Authority after a challenge has been received, or it could be that the Authority Token was acquired prior to the initial ACME client request. A Token Authority could grantto a clientan Authority Token that has the exact same scope as the requestedcertificate;certificate to a client; alternatively, an Authority Token could attest to all of the resources that the client is eligible to receive certificates for, which could be a superset of the scope of the requested certificate.</t><t></t> <t> For example, imagine a case whereana Token Authority for DNS names knows that a client is eligible to receive certificates for "example.com" and "example.net". The client asks an ACME server for a certificate for "example.com", and the server directs the client to acquire an Authority Token from the Token Authority. When the client sends an acquisition request (see <xreftarget="acquire"/>)target="acquire" format="default"/>) to the Token Authority, the Token Authority could issue a token scoped just to"example.com","example.com" or a token that attests the client is eligible to receive certificates for both "example.com" or "example.net". The advantage of the latter is that if, at a later time (but one within the expiry of the token), the client wanted to acquire a certificate for "example.net", it would not have to return to the Token Authority, as the Token effectively pre-authorized the issuance of that certificate.</t><t></t> <t> Applications of the Authority Token to different identifier types might require different scopes, so registrations of tkauth-types should be clear about if and how a scope greater than that of the requested certificate would be conveyed in a token. </t> </section> <section anchor="bind"title="Binding Challenges">numbered="true" toc="default"> <name>Binding Challenges</name> <t> Applications that use the Authority Token need a way to correlate tokens issued by a Token Authority with the proper ACMEclient,client to prevent replay or cut-and-paste attacks using a token issued for a different purpose. To mitigate this, Authority Tokens contain a binding signed by a Token Authority; an ACME server can use the binding to determine that a Token presented by a client was in fact granted by the Token Authority based on a request from theclient,client and not from some other entity. It isRECOMMENDED<bcp14>RECOMMENDED</bcp14> that the ACME account fingerprint be used for this purpose.</t><t></t> <t> Creating a binding from an Authority Token to a particular ACME account entails that the Token could be reused up until its expiry for multiple challenges issued by an ACME server. This might be a desirable property when using short-lived certificates, for example,orin any cases where the ACME server issues challenges more frequently that an Authority Token can or should issuetokens,tokens or in cases where the Authority Token scope (see <xreftarget="scope"/>)target="scope" format="default"/>) is broad, so certificates with a more narrow scope may periodically be issued.</t><t></t> <t> For some identifier types, it may be more appropriate to bind the Authority Token to a nonce specific to the challenge rather than to an ACME account fingerprint. Any specification of the use of the nonce or other factors for this purpose is left to the identifier type profile for the Authority Token.</t><t></t> <t> Note that the fingerprint value in the client's JWT is reflected in the Authority Token returned by the Token Authority; the Token Authority has no requirement to validate that fingerprint. Were a fingerprint to be captured by an attackerwhichthat had its own account with the Token Authority, it could replay that fingerprint in its own JWT in order to receive an Authority Token with that fingerprint. However, were the attacker to present that Authority Token to an ACME service, the service would see the fingerprint does not match the attacker's ACME account fingerprint. So unless an attacker can compromise a target ACME account or gain similar privileges, the binding would be secure. </t> </section> </section> <section anchor="tn"title="Authoritynumbered="true" toc="default"> <name>Authority Token Challenge tkauth-typeRegistration">Registration</name> <t> Thisdraftdocument specifies a tkauth-type of"atc""atc", which contains a standard JWT <xreftarget="RFC7519"/>target="RFC7519" format="default"/> using aJWS-definedsignature string defined by a JSON Web Signature (JWS) <xreftarget="RFC7515"/>.target="RFC7515" format="default"/>. The "atc" tkauth-typeMAY<bcp14>MAY</bcp14> be used for any number of different ACMEidentifier typesIdentifier Types in the ACME challenge.</t><t></t> <t> A new JWT claim, "atc", is defined below and lists the identifier type used in this Authority Token. The "atc" tkauth-type is restricted to the JWTs; if a non-JWT format is desired for the ACME Authority Token Challenge, a different tkauth-type should be specified and registered in the "ACME Authority Token Challenge Types" registry defined inSection 8. </t><t><xref target="IANA-3" format="default"/>. </t> <t> For this ACME Authority Token usage of a JWT, it is <bcp14>OPTIONAL</bcp14> for the payload of the JWTOPTIONALLYto contain an"iss""iss", indicating the Token Authority that generated thetoken,token if the "x5u" or "x5c" element in the header does not already convey that information; typically, this will be the same location that appeared in the "token-authority" field of the ACME challenge, when present. In order to satisfy the requirement for replaypreventionprevention, the JWTMUST<bcp14>MUST</bcp14> contain a "jti"element,element and an "exp" claim; the "exp" claim manages token freshness. In addition to helping to manage replay, the "jti" provides a convenient way to reliably track when the same "atc" Authority Token is being used for multiple challenges over time within its set lifetime.</t><t></t> <t> The JWT payloadMUST<bcp14>MUST</bcp14> also contain a new JWT claim, "atc", for Authority Token Challenge, which contains three mandatory elements in a JSON map: the ATC identifier type ("tktype"), the identifier value ("tkvalue"), and the binding ("fingerprint"). The use of "tktype" is restricted to the values in the "ACME Identifier Types"registryregistry, as defined by <xreftarget="RFC8555"/>.target="RFC8555" format="default"/>. The identifier type and value are those given in the ACME challenge and conveyed to the Token Authority by the ACME client. For the purposes of the "atc" tkauth-type, the binding "fingerprint" is assumed to be a fingerprint of the ACME credential for the account used to request the certificate, but the specification of how the binding is generated is left to the identifier type profile for the Authority Token (see <xreftarget="bind"/>).target="bind" format="default"/>). The "tkvalue" indicates the scope of the authority that thetoken,token and its semantics are outside the scope of this document, as they will be specified by the "tkvalue" identifier in a separate specification.</t><t></t> <t> Following the example of <xreftarget="I-D.ietf-acme-authority-token-tnauthlist"/>,target="RFC9448" format="default"/>, the "tktype" identifier type could be theTNAuthList, with a "tkvalue" asTNAuthList (as defined in <xreftarget="RFC8226"/>target="RFC8226"/>), which would be the value for the "tkvalue" element that the Token Authority is attesting. Practically speaking, that scope may comprise a list of Service Provider Code elements, telephone number range elements, and/or individual telephone numbers. So for example:</t><t> <figure> <artwork><![CDATA[</t> <sourcecode type=""><![CDATA[ { "protected": base64url({ "typ":"JWT", "alg":"ES256", "x5u":"https://authority.example.org/cert" }), "payload": base64url({ "iss":"https://authority.example.org/authz", "exp":1300819380, "jti":"id6098364921","atc":{"tktype":"TnAuthList","tkvalue":"F83n2a...avn27DN3==","fingerprint": "SHA256 56:3E:CF:AE:83:CA:4D:15:B0:29:FF:1B:71:D3:BA:B9:19:81:F8:50: 9B:DF:4A:D4:39:72:E2:B1:F0:B9:38:E3"}"atc":{"tktype":"TnAuthList","tkvalue":"F83n2a...avn27DN3==", "fingerprint":"SHA256 56:3E:CF:AE:83:CA:4D:15:B0:29:FF:1B:71:D3: BA:B9:19:81:F8:50:9B:DF:4A:D4:39:72:E2:B1:F0:B9:38:E3"} }), "signature": "9cbg5JO1Gf5YLjjz...SpkUfcdPai9uVYYQ" }]]></artwork> </figure> </t>]]></sourcecode> <t>Optionally, the "atc" claim may contain a fourth boolean element, "ca". If set to "true", the "ca" element indicates that the Token Authority is granting permission to issue a certification authority certificate rather than an end-entity certificate for the names in question. This permits subordinate delegations from the issued certificate (using <xreftarget="RFC9115"/>target="RFC9115" format="default"/> or similar mechanisms). If the "ca" element is absent, the Token Authority is explicitly withholding permission. The "atc" object in the example above would then look like:<figure> <artwork><![CDATA[ "atc":{"tktype":"TnAuthList","tkvalue":"F83n2a...avn27DN3==","ca":true, "fingerprint":"SHA256 56:3E:CF:AE:83:CA:4D:15:B0:29:FF:1B:71:D3:BA:B9:19:81:F8:50: 9B:DF:4A:D4:39:72:E2:B1:F0:B9:38:E3"}</t> <sourcecode type=""><![CDATA[ "atc":{"tktype":"TnAuthList","tkvalue":"F83n2a...avn27DN3==", "ca":true,"fingerprint":"SHA256 56:3E:CF:AE:83:CA:4D:15:B0:29:FF:1B: 71:D3:BA:B9:19:81:F8:50:9B:DF:4A:D4:39:72:E2:B1:F0:B9:38:E3"} }]]></artwork> </figure> </t><t>]]></sourcecode> <t> Specifications of "tktype" identifier types may define additional optional "atc" elements. </t> </section> <section anchor="acquire"title="Acquiringnumbered="true" toc="default"> <name>Acquiring aToken">Token</name> <t> The acquisition of an Authority Token requires a network interface, apart from potential use cases where the entity that acts as an ACME client itself also acts as a Token Authority trusted by the ACME server. Implementations compliant with this specificationMUST<bcp14>MUST</bcp14> support an HTTPS interface for Authority Token acquisition as described below, though other interfacesMAY<bcp14>MAY</bcp14> be supported as well. </t> <section anchor="ex"title="Basicnumbered="true" toc="default"> <name>Basic RESTInterface">Interface</name> <t> In order to request an Authority Token from a Token Authority, a client sends a HTTPS POST request <xreftarget="RFC7231"/> .target="RFC9110" format="default"/>. This specification assumes that Token Authority URIs are known to clients through preexisting businessrelationships,relationships and that the credentials and related authentication and authorization for Authority Token acquisition are encompassed in that relationship. Different services may organize their web resources in domain-specific ways, but the resource locator should specify the account of the client, an identifier for the service provider, and finally a locator for the token.</t><t> <figure><artwork><![CDATA[</t> <sourcecode type=""><![CDATA[ POST /at/account/:id/token HTTP/1.1 Host: authority.example.com Content-Type: application/json]]></artwork></figure> </t><t>Note]]></sourcecode> <t>Note that ":id" here is a placeholder for an actual account identifier. The body of the POST requestMUST<bcp14>MUST</bcp14> contain the Authority Token Challenge element (the key "atc", colon, and its value) that the client is requesting the Token Authority generate. In this way, the client proposes the scope of the Authority Token it would like to receive from the Token Authority.</t><t></t> <t> In common use cases, the "tkvalue" in this request is asking that the Token Authority issue a token that attests the entire scope of authority to which the client is entitled. The client may also request an Authority Token with some subset of its own authority via the "tkvalue" element in the Authority Token Challenge object. The way that "tkvalue" is defined will necessarily be specific to the identifier type. For theTNAuthlistTNAuthList identifier type, for example, an object requesting an Authority Token could request authority for only a single telephone number in a way that is defined in the TNAuthList specification.</t><t></t> <t> Finally, the JSON objectMAY<bcp14>MAY</bcp14> also contain an optional booleanelement "ca"element, "ca", which signifies that the client is requesting that the Token Authority issue an Authority Token with the "ca" flag set, as described in <xreftarget="tn"/>.</t>target="tn" format="default"/>.</t> <t> After an HTTPS-level challenge(e.g.(e.g., a 401 HTTP response code) to verify the identity of the client and subsequently making an authorization decision about whether the client should receive an Authority Token with the requested scope, then in the success case, the Token AuthorityMUST<bcp14>MUST</bcp14> return a 200 OK with a body of type "application/json" containing the Authority Token.</t><t></t> <t> A full example of "atc" token acquisition using the HTTP interface, with the "tktype" of "TNAuthList", is given in <xreftarget="I-D.ietf-acme-authority-token-tnauthlist"/> Section 5.5.target="RFC9448" format="default" sectionFormat="of" section ="5.5"/>. </t> </section> </section> <sectionanchor="Acknowledgements" title="Acknowledgements"> <t>We would like to Roman Danyliw and Ben Kaduk for contributions to this problem statement and framework.</t> </section> <sectionanchor="iana"title="IANA Considerations">numbered="true" toc="default"> <name>IANA Considerations</name> <section anchor="IANA-1"title="ACMEnumbered="true" toc="default"> <name>ACME Validation MethodRegistration"> <t>This document requests that IANA populateRegistration</name> <t>IANA has added a new ACME Validation Method(again per(per <xreftarget="RFC8555"/>)target="RFC8555" format="default"/>) in theACME"ACME ValidationMethods sub-registryMethods" subregistry of theAutomated"Automated Certificate Management Environment (ACME)ProtocolProtocol" registry groupfor the label "tkauth-01", identifier type "TNAuthList", an ACME value of "Y", and a reference pointing to [RFCThis]. </t><t> Note to the RFC Editor: Please replace [RFCThis] throughout this document with the RFC number assigned to this specification. </t>as follows:</t> <dl newline="false" spacing="normal"> <dt>Label:</dt> <dd>tkauth-01</dd> <dt>Identifier Type:</dt> <dd>TNAuthList</dd> <dt>ACME:</dt> <dd>Y</dd> <dt>Reference:</dt> <dd>RFC 9447</dd> </dl> </section> <section anchor="IANA-2"title="JSONnumbered="true" toc="default"> <name>JSON Web Token ClaimRegistration">Registration</name> <t>This document asksIANAto populatehas added a new claim in the "JSON Web Token Claims"registryregistry, as defined in <xreftarget="RFC7519"/>target="RFC7519" format="default"/>, as follows:</t><t><list><t> Claim name: atc </t><t> Claim Description: Authority Token Challenge </t><t> Change Controller: IESG </t><t> Specification document(s): [RFCThis] </t></list></t></t> <dl newline="false" spacing="normal"> <dt>Claim name:</dt> <dd>atc</dd> <dt>Claim Description:</dt> <dd>Authority Token Challenge</dd> <dt>Change Controller:</dt> <dd>IETF</dd> <dt>Specification document(s):</dt> <dd>RFC 9447</dd> </dl> </section> <section anchor="IANA-3"title="Creationnumbered="true" toc="default"> <name>Creation of ACME Authority Token ChallengeType Registry">Types Registry</name> <t>This document requests that theIANAcreatehas created a new registry for "ACME Authority Token Challenge Types" as used in these challenges, under a policy of Specification Required and following the requirements in <xreftarget="req"/>,target="req" format="default"/>, with three columns: Label,ReferenceDescription, andDescription.Reference. Theregistry should be pre-populated with a Labelinitial content of"atc" perthe registry is as follows:</t> <dl newline="false"> <dt>Label:</dt> <dd> atc (as defined in <xreftarget="tn"/> with a Reference value of [RFCThis], and a Description of "JSONtarget="tn" format="default"/>)</dd> <dt>Description:</dt> <dd>JSON Web Token (JWT) challengetype."</t>type</dd> <dt>Reference:</dt> <dd>RFC 9447</dd> </dl> </section> </section> <section anchor="Security"title="Security Considerations">numbered="true" toc="default"> <name>Security Considerations</name> <t> Per the guidance in <xreftarget="RFC8555"/>,target="RFC8555" format="default"/>, ACME transactionsMUST<bcp14>MUST</bcp14> use TLS, andsimilarlysimilarly, the HTTPS REST transactions used to request and acquire Authority TokensMUST<bcp14>MUST</bcp14> use TLS. These measures are intended to prevent the capture of Authority Tokens by eavesdroppers. A preexisting trust relationship between the HTTPS REST client and the Token Authority must also exist in order for the parties to meaningfully authenticate one another. The security considerations of <xreftarget="RFC8555"/>target="RFC8555" format="default"/> apply to the use of the mechanism in this specification. Implementations should follow the best practices identified in <xreftarget="RFC8725"/>. </t><t>target="RFC8725" format="default"/>. </t> <t> As described in <xreftarget="scope"/>,target="scope" format="default"/>, an Authority Token can either have a scope that attests all of the resourceswhichthat a client is eligible to receive certificatesfor,for or potentially a more limited scope that is intended to capture only those resources for which a client will receive a certificate from a particular certification authority. Any certification authority that sees an Authority Token can learn information about the resources a client can claim. In cases where this incurs a privacy risk, Authority Token scopes should be limited to only the resources that will be attested by the requested ACME certificate.</t><t></t> <t> In cases where atkauth-typetkauth-type, as defined in <xreftarget="tn"/>target="tn" format="default"/>, admits of its own subtypes, the security of features like binding challenges (see <xreftarget="bind"/>)target="bind" format="default"/>) will depend on the subtype specification.</t><t></t> <t> The capture of Authority Tokens by an adversary could enable an attacker to acquire a certificate from a CA. Therefore, all Authority TokensMUST<bcp14>MUST</bcp14> contain a field that identifies to the CA which ACME client requested the token from the Token Authority;herehere, that is the fingerprint specified in <xreftarget="tn"/>).target="tn" format="default"/>. All Authority Tokens must specify an expiry (of the token itself as proof for a CA, as opposed to the expiry of the name), and for someapplication,applications, it may make senseoffor that expiry to be quite short. ACME services relying on Authority TokensSHOULD not<bcp14>SHOULD NOT</bcp14> issue certificates with a longer expiry than the expiry of the Authority Token. Any protocol used to retrieve Authority Tokens from a Token AuthorityMUST<bcp14>MUST</bcp14> use confidentiality toprevetnprevent eavesdroppers from acquiring an Authority Token. The details of this protocol are out of the scope of this specification.</t><t></t> <t> This document only specifies SHA256 for the fingerprint hash. However, the syntax of the fingerprint object would permit other keys if, due to concerns about algorithmic agility, a more robust algorithm were required at a future time. Future specifications can define new keys for the fingerprint object as needed. </t> </section> </middle><!-- *****BACK MATTER ***** --><back><!-- References split into informative and normative --> <!-- There are 2 ways to insert reference entries from the citation libraries: 1. define an ENTITY at the top, and use "ampersand character"RFC2629; here (as shown) 2. simply use a PI "less than character"?rfc include="reference.RFC.2119.xml"?> here (for I-Ds: include="reference.I-D.narten-iana-considerations-rfc2434bis.xml") Both are cited textually in the same manner: by using xref elements. If you use the PI option, xml2rfc will, by default, try to find included files in the same directory as the including file. You can also define the XML_LIBRARY environment variable with a value containing a set<references> <name>References</name> <references> <name>Normative References</name> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7515.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7519.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9110.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8725.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8555.xml"/> <reference anchor='RFC9448' target='https://www.rfc-editor.org/info/rfc9448'> <front> <title>TNAuthList Profile ofdirectories to search. These can be either in the local filing system or remote ones accessed by http (http://domain/dir/... ).--> <references title="Normative References"> &RFC2119; &RFC8174; &RFC7515; &RFC7519; &RFC7231; &RFC3986; &RFC8725; &RFC4648; &RFC8555; &I-D.ietf-acme-authority-token-tnauthlist;Automated Certificate Management Environment (ACME) Authority Token</title> <author initials='C' surname='Wendt' fullname='Chris Wendt'> <organization /> </author> <author initials='D' surname='Hancock' fullname='David Hancock'> <organization /> </author> <author initials='M' surname='Barnes' fullname='Mary Barnes'> <organization /> </author> <author initials='J' surname='Peterson' fullname='Jon Peterson'> <organization /> </author> <date year='2023' month='September'/> </front> <seriesInfo name="RFC" value="9448"/> <seriesInfo name="DOI" value="10.17487/RFC9448"/> </reference> </references> <references> <name>Informative References</name> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8226.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8396.xml"/> <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9115.xml"/> </references><references title="Informative References"> &RFC8226; &RFC8396; &RFC9115;</references> <section anchor="Acknowledgements" numbered="false" toc="default"> <name>Acknowledgements</name> <t>We would like to <contact fullname="Roman Danyliw"/> and <contact fullname="Ben Kaduk"/> for contributions to this problem statement and framework.</t> </section> </back> </rfc>