Automated Certificate Management Environment A. Chariton Internet-Draft A. A. Omidi Intended status: Standards Track Independent Contributor Expires: 6 June 2027 J. Kasten Snowflake F. Loukos S. A. Janikowski Google 3 December 2026 Automated Certificate Management Environment (ACME) DNS Labeled With ACME Account ID Challenge draft-ietf-acme-dns-account-label-06 Abstract This document specifies a new DNS-based challenge type for the Automated Certificate Management Environment (ACME) protocol that enables multiple independent systems to authorize a single domain name concurrently. By adding a unique label to the DNS validation record name, the dns-account-01 challenge avoids CNAME delegation conflicts inherent to the dns-01 challenge type. This is particularly valuable for multi-region or multi-cloud deployments that wish to rely upon DNS-based domain control validation and need to independently obtain certificates for the same domain. About This Document This note is to be removed before publishing as an RFC. The latest revision of this draft can be found at https://github.com/aaomidi/draft-ietf-acme-dns-account-challenge. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-ietf-acme-dns-account-label/. Discussion of this document takes place on the WG Working Group mailing list (mailto:acme@ietf.org), which is archived at https://datatracker.ietf.org/wg/acme/about/. Subscribe at https://www.ietf.org/mailman/listinfo/acme/. Source for this draft and an issue tracker can be found at https://github.com/aaomidi/draft-ietf-acme-dns-account-challenge. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Chariton, et al. Expires 6 June 2027 [Page 1] Internet-Draft ACME-DNS-CHALLENGE December 2026 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 6 June 2027. Copyright Notice Copyright (c) 2026 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 3 3. DNS-ACCOUNT-01 Challenge . . . . . . . . . . . . . . . . . . 4 3.1. Challenge Definition . . . . . . . . . . . . . . . . . . 4 3.2. Challenge Fulfillment . . . . . . . . . . . . . . . . . . 5 3.3. Server Validation . . . . . . . . . . . . . . . . . . . . 7 3.4. Errors . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.5. Validation Domain Name Requirements . . . . . . . . . . . 8 4. Security Considerations . . . . . . . . . . . . . . . . . . . 9 4.1. Relation to RFC 8555 . . . . . . . . . . . . . . . . . . 9 4.2. Requirements of the Account Label . . . . . . . . . . . . 10 4.3. Privacy . . . . . . . . . . . . . . . . . . . . . . . . . 10 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 10 5.1. ACME Validation Method . . . . . . . . . . . . . . . . . 10 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 11 6.1. Normative References . . . . . . . . . . . . . . . . . . 11 6.2. Informative References . . . . . . . . . . . . . . . . . 11 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 12 Chariton, et al. Expires 6 June 2027 [Page 2] Internet-Draft ACME-DNS-CHALLENGE December 2026 1. Introduction The dns-01 challenge specified in Section 8.4 of [RFC8555] uses a single DNS authorization label (_acme-challenge) for domain validation. This single-label approach creates a limitation in domain validation: each domain can only delegate its validation to one ACME client at a time. Since delegation requires the use of CNAME records, of which only one can exist per DNS name, operators are forced to choose a single ACME challenge solver for their domain name. This limitation becomes particularly problematic in some deployments. For example, in multi-region deployments, separate availability zones serve the same content while avoiding cross-zone dependencies. These zones need to independently obtain and manage certificates for the same domain name. Similarly, during zero-downtime migrations, two different infrastructure setups may coexist for extended periods, with both requiring access to valid certificates. Other use cases include multi-CDN deployments and the provision of backup certificates for use when an active certificate must be quickly revoked. This document specifies a new challenge type: dns-account-01, which addresses these operational needs. The dns-account-01 challenge incorporates the ACME account URL (Section 7.3 of [RFC8555]) into the DNS validation record name, allowing multiple independent ACME clients to perform domain validation concurrently. Since these authorization labels depend on the ACME account URL, operators can generate and configure the necessary DNS records in advance. This document does not deprecate the dns-01 challenge specified in [RFC8555]. The ability to complete the dns-account-01 challenge requires ACME server operators to deploy new code, making adoption of this challenge an opt-in process. 2. Conventions and Definitions The key words "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 BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. Chariton, et al. Expires 6 June 2027 [Page 3] Internet-Draft ACME-DNS-CHALLENGE December 2026 3. DNS-ACCOUNT-01 Challenge The dns-account-01 challenge allows an ACME client to prove control of a domain name by provisioning a TXT resource record containing a designated value for a specific validation domain name. It leverages the ACME account URL to construct a unique but stable validation domain name. The ACME server validates control of the domain name by performing one or more DNS queries to this validation domain name, following CNAME records, to arrive at one or more TXT resource records. The ACME server verifies that the contents of one or more of these TXT records match the digest value of the key authorization that is constructed from the token value provided in the challenge. 3.1. Challenge Definition The ACME challenge object is a JSON object (Section 8 of [RFC8555]) containing the following fields: * type (required, string): The string "dns-account-01". * token (required, string): A random value that uniquely identifies the challenge. This value MUST have at least 128 bits of entropy. It MUST NOT contain any characters outside the base64url alphabet (Section 5 of [RFC4648]), including padding characters ("="). See Appendix C.1 of [RFC9846] for information on additional requirements for secure randomness. * url (required, string): The URL to which a response can be posted, as defined in Section 8 of [RFC8555]. * status (required, string): The status of this challenge, as defined in Section 8 of [RFC8555]. Possible values are "pending", "processing", "valid", and "invalid" (see Section 7.1.6 of [RFC8555]). * validated (optional, string): The time at which the ACME server validated this challenge, as defined in Section 8 of [RFC8555]. * error (optional, object): The error that occurred while the ACME server was validating the challenge, as defined in Section 8 of [RFC8555]. An example challenge object is provided below: Chariton, et al. Expires 6 June 2027 [Page 4] Internet-Draft ACME-DNS-CHALLENGE December 2026 { "type": "dns-account-01", "url": "https://example.com/acme/chall/i00MGYwLWIx", "status": "pending", "token": "ODE4OWY4NTktYjhmYS00YmY1LTk5MDgtZTFjYTZmNjZlYTUx" } 3.2. Challenge Fulfillment To fulfill the "dns-account-01" challenge, an ACME client performs the following steps: 1. Construct Key Authorization * Construct a key authorization (Section 8.1 of [RFC8555]) from the token value provided in the challenge and the ACME client's account key * Compute the SHA-256 digest [FIPS180-4] of the key authorization 2. DNS Record Creation * Construct the validation domain name by prepending the following two labels to the domain name being validated: "_" || base32(SHA-256()[0:10]) || "._acme-challenge" - SHA-256 is the SHA hashing operation defined in [FIPS180-4] - [0:10] is the operation that selects the first ten bytes (bytes 0 through 9 inclusive) from the previous SHA-256 operation - base32 is the operation defined in Section 6 of [RFC4648] and its use throughout this document is case-insensitive - ACCOUNT_URL is defined in Section 7.3 of [RFC8555] as the value in the Location header field. It is used exactly as supplied by the ACME server in the Location header field, which is the same string the ACME client carries in the JWS kid field. The SHA-256 operation is computed over the octets of this string, without any normalization, decoding, or case folding. - The || operator indicates concatenation of strings Chariton, et al. Expires 6 June 2027 [Page 5] Internet-Draft ACME-DNS-CHALLENGE December 2026 - The domain name being validated is the value of the identifier field of the authorization object containing this challenge. For wildcard authorizations, this value does not include the "*." prefix (Section 7.1.4 of [RFC8555]). * Provision a DNS TXT record under the constructed validation domain name, containing the base64url encoding (per Section 5 of [RFC4648], without padding) of the SHA-256 digest computed in step 1. 3. Challenge Response * Respond to the ACME server with an empty object ({}) to acknowledge that the challenge can be validated by the ACME server Below is an example DNS record for domain example.org with account URL https://example.com/acme/acct/ExampleAccount: _ujmmovf2vn55tgye._acme-challenge.example.org. 300 IN TXT ( "LoqXcYV8...fm21mqTI" ) Because the validation domain name differs for each ACME account, an operator can delegate validation of the same domain name to multiple ACME clients, each using its own ACME account, with one CNAME record each. For example, with a second account URL https://example.com/acme/acct/ExampleAccount2: _ujmmovf2vn55tgye._acme-challenge.example.org. 300 IN CNAME ( example-org.validation.region1.example.net. ) _irn4jvgahsogihvs._acme-challenge.example.org. 300 IN CNAME ( example-org.validation.region2.example.net. ) Each ACME client then provisions its TXT resource record at its own CNAME target, independently of the other. Domain owners should follow Section 7 of [I-D.ietf-dnsop-domain-verification-techniques] and delete delegations when no longer necessary. Example response to the ACME server: Chariton, et al. Expires 6 June 2027 [Page 6] Internet-Draft ACME-DNS-CHALLENGE December 2026 POST /acme/chall/i00MGYwLWIx HTTP/1.1 Host: example.com Content-Type: application/jose+json { "protected": base64url({ "alg": "ES256", "kid": "https://example.com/acme/acct/ExampleAccount", "nonce": "SS2sSl1PtspvFZ08kNtzKd", "url": "https://example.com/acme/chall/i00MGYwLWIx" }), "payload": base64url({}), "signature": "Q1bURgJoEslbD1c5...3pYdSMLio57mQNN4" } 3.3. Server Validation Upon receiving the challenge response, the ACME server: 1. Performs the typical JWS validation according to Section 6.2 of [RFC8555] 2. Constructs and stores the key authorization 3. Computes the SHA-256 digest [FIPS180-4] of the stored key authorization 4. Computes the validation domain name using the kid value exactly as it appears in the JWS protected header, without any normalization 5. Queries for TXT records at the validation domain name 6. Verifies that at least one TXT record matches the computed digest value The validation succeeds only if all verifications pass. The ACME server MUST mark the challenge as invalid if any verification fails. Chariton, et al. Expires 6 June 2027 [Page 7] Internet-Draft ACME-DNS-CHALLENGE December 2026 The ACME client SHOULD de-provision the resource record(s) provisioned for this challenge once the challenge is complete, i.e., once the "status" field of the challenge has the value "valid" or "invalid". Resource records left in place accumulate at the validation domain name over time and increase the DNS response size. Since their value is derived from a single-use challenge token, they cannot satisfy any future challenge. Therefore stale resource records do not affect security, so de-provisioning is not strictly required; an ACME client can, e.g., remove them later in batches, or retry removal after an error asynchronously. Multiple challenges can share the same validation domain name, e.g., when the same ACME account requests a certificate for both a domain name and its wildcard. In this case, the ACME client provisions one TXT resource record per challenge and removes only the record for the completed challenge, since removing all TXT records at the validation domain name would cause the remaining validations to fail. Resource records not provisioned for a specific challenge, such as a CNAME record delegating the validation domain name, are not affected by this recommendation. 3.4. Errors Errors encountered during challenge validation are reported as described in Section 6.7 of [RFC8555]. If the ACME server is unable to find a TXT resource record for the validation domain name, it should include the account URL it used to construct the validation domain name in the human-readable detail field of the problem document (Section 3.1.4 of [RFC9457]). ACME clients MUST NOT parse the detail field or rely on the presence of the account URL in it to construct the validation domain name. Including the account URL is intended solely to assist operators in troubleshooting when the validation domain name they provisioned does not match the one computed by the ACME server. As it is not required for validation, an ACME server can omit it, e.g., to avoid ACME client reliance on its presence and prevent ossification. 3.5. Validation Domain Name Requirements As this challenge creates a strong dependency on the kid account identifier, the ACME server should ensure that the account identifier is not changed during the lifetime of the account to avoid having its ACME clients re-provision all of their DNS resource records. The account identifier is the entire account URL, including the ACME endpoint domain name, port, scheme, and full HTTP path. The ACME Chariton, et al. Expires 6 June 2027 [Page 8] Internet-Draft ACME-DNS-CHALLENGE December 2026 client and ACME server MUST compute the validation domain name from the same unmodified account URL string, as supplied in the Location header field and carried in the JWS kid field. The ACME server MUST NOT apply URL normalization differently in the Location header field and while validating challenges. Such a change, e.g., to the ACME server hostname due to a service migration, may sometimes be operationally necessary. However, it invalidates all validation domain names previously provisioned by ACME clients, which would then need to be recomputed and re- provisioned. An ACME server making such a change SHOULD continue to accept requests whose kid contains previously issued account URLs, so that existing DNS records remain valid. The two labels prepended to the domain name being validated are 17 and 15 octets long, independent of the account URL, and are therefore always within the 63-octet label limit of Section 2.3.4 of [RFC1035]. Together, they add 34 octets to the length of the domain name in DNS wire format, including their length octets. The complete validation domain name MUST NOT exceed the 255-octet limit of Section 2.3.4 of [RFC1035], which applies to the wire format and corresponds to 253 characters in the usual textual representation without the trailing dot. Since this added length does not depend on the account, the ACME server can determine whether the limit would be exceeded when it creates an authorization. The ACME server MUST NOT offer the dns- account-01 challenge for an identifier whose validation domain name would exceed this limit as the challenge cannot be completed. ACME clients can use a different challenge type for such identifiers. If the account labels of two ACME accounts collide (see Section 4), both ACME clients can still provision TXT records at the same validation domain name, as described in Section 3.3. If the account labels of two ACME accounts collide and the operator needs to delegate validation via a CNAME, a separate, new ACME account should be created and used to grant a new account label. Collisions are further discussed in Section 4. 4. Security Considerations 4.1. Relation to RFC 8555 The same security considerations apply for the integrity of authorizations (Section 10.2 of [RFC8555]) and DNS security (Section 11.2 of [RFC8555]) as in the original specification for dns- 01. Chariton, et al. Expires 6 June 2027 [Page 9] Internet-Draft ACME-DNS-CHALLENGE December 2026 To allow for seamless account key rollover without the label changing, the dynamic part of the label depends on the ACME account and not the account key. This allows for long-lived labels, without the security considerations of keeping the account key static. 4.2. Requirements of the Account Label In terms of the construction of the account label prepended to the domain name, there is no need for a cryptographic hash. The goal is to simply create a long-lived and statistically distinct label of minimal size. SHA-256 was chosen due to its existing use in the dns-01 challenge (Section 8.1 of [RFC8555]). The first 10 bytes were picked as a tradeoff: the value needs to be short enough to stay lower than the size limits for DNS (Section 2.3.4 of [RFC1035]), long enough to provide sufficient probability of collision avoidance across ACME accounts, and just the right size to have base32 require no padding. As the algorithm is used for a uniform distribution of inputs, and not for integrity, the truncation is not a security issue. The length of the complete validation domain name is discussed in Section 3.5. A collision between account labels has no security implications. The TXT record value is derived from the key authorization, which is bound to the account key (Section 8.1 of [RFC8555]), so a record provisioned for one ACME account cannot satisfy a challenge for another, regardless of whether their account labels collide. The operational effect of a collision is discussed in Section 3.5. 4.3. Privacy It may be possible to correlate ownership of domain names due to the leakage of the account label. As noted in Section 9.8 of [I-D.ietf-dnsop-domain-verification-techniques] and Section 10 of [I-D.ietf-dnsop-domain-verification-techniques], validation records are public information, as are CAA records containing the accounturi parameter [RFC8657]. Operators that are concerned about this possibility can use separate ACME accounts. 5. IANA Considerations 5.1. ACME Validation Method The "ACME Validation Methods" registry [IANA-ACME-VALIDATION-METHODS] is to be updated to include the following entry: Chariton, et al. Expires 6 June 2027 [Page 10] Internet-Draft ACME-DNS-CHALLENGE December 2026 label: dns-account-01 identifier-type: dns ACME: Y Reference: This document 6. References 6.1. Normative References [FIPS180-4] National Institute of Standards and Technology, "Secure Hash Standard (SHS)", August 2015, . [RFC1035] Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, DOI 10.17487/RFC1035, November 1987, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC4648] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, DOI 10.17487/RFC4648, October 2006, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8555] Barnes, R., Hoffman-Andrews, J., McCarney, D., and J. Kasten, "Automatic Certificate Management Environment (ACME)", RFC 8555, DOI 10.17487/RFC8555, March 2019, . [RFC9457] Nottingham, M., Wilde, E., and S. Dalal, "Problem Details for HTTP APIs", RFC 9457, DOI 10.17487/RFC9457, July 2023, . [RFC9846] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 9846, DOI 10.17487/RFC9846, July 2026, . 6.2. Informative References Chariton, et al. Expires 6 June 2027 [Page 11] Internet-Draft ACME-DNS-CHALLENGE December 2026 [I-D.ietf-dnsop-domain-verification-techniques] Sahib, S. K., Huque, S., Wouters, P., Nygren, E., and T. Wicinski, "Domain Control Validation using DNS", Work in Progress, Internet-Draft, draft-ietf-dnsop-domain- verification-techniques-13, 21 June 2026, . [IANA-ACME-VALIDATION-METHODS] IANA, "ACME Validation Methods", n.d., . [RFC8657] Landau, H., "Certification Authority Authorization (CAA) Record Extensions for Account URI and Automatic Certificate Management Environment (ACME) Method Binding", RFC 8657, DOI 10.17487/RFC8657, November 2019, . Authors' Addresses Antonis Chariton Independent Contributor Email: daknob@daknob.net Amir A. Omidi Independent Contributor Email: amir@aaomidi.com James Kasten Snowflake Email: james.kasten@snowflake.com Fotis Loukos Google Email: fotisl@google.com Stanislaw A. Janikowski Google Email: stanwise@google.com Chariton, et al. Expires 6 June 2027 [Page 12]