Internet-Draft ACME Delegated HTTP Validation January 2025
Crawford, et al. Expires 20 July 2025 [Page]
Workgroup:
Automated Certificate Management Environment
Internet-Draft:
draft-crawford-acme-delegated-http-latest
Published:
Intended Status:
Informational
Expires:
Authors:
J. Crawford
Netflix
A. Chen
Netflix
H. Shafagh
Netflix

Delegated http-01 Validation in ACME Protocol

Abstract

This document proposes an extension to the Automated Certificate Management Environment (ACME) !RFC8555 protocol to enhance the http-01 challenge type (see Section 8.3 of [RFC8555]) by allowing for delegation, enabling validation requests to be directed to a designated server. This approach mirrors the functionality available with dns-01 (see Section 8.4 of [RFC8555]) challenges via DNS CNAME records, aiming to improve the flexibility and scalability of the http-01 validation method.

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://jmcrawford45.github.io/draft-crawford-acme-delegated-http/draft-crawford-acme-delegated-http.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-crawford-acme-delegated-http/.

Discussion of this document takes place on the Automated Certificate Management Environment mailing list (mailto:acme@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/acme/. Subscribe at https://www.ietf.org/mailman/listinfo/acme/.

Source for this draft and an issue tracker can be found at https://github.com/jmcrawford45/draft-crawford-acme-delegated-http.

Status of This Memo

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 20 July 2025.

Table of Contents

1. Introduction

The ACME protocol provides mechanisms for validating domain control using several challenge types, including http-01 and dns-01. While dns-01 challenges allow for delegation using DNS CNAME records, http-01 challenges require direct hosting of challenge responses on the domain being validated. This document introduces a mechanism to delegate http-01 validation requests to a designated server. By leveraging DNS records to redirect HTTP validation, this proposal enables http-01 validation while addressing challenges associated with validating domains hosted on corporate networks, on load balancers, or behind firewalls. Delegated HTTP validation combines the following benefits from the existing dns-01 and http-01 validation methods.

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.

3. Delegated HTTP Validation

This proposal extends the http-01 challenge type to support delegation using a DNS record, similar to the approach used for dns-01 challenges. The process for validating example.com is as follows:

  1. DNS Configuration: The domain owner creates a DNS record for _acme-challenge.example.com pointing to a server capable of serving HTTP validation requests. For example:

    _acme-challenge.example.com. CNAME validation-server-example.net.

  2. Challenge File Provisioning: The designated server hosts the challenge file at the path /.well-known/acme-challenge/{token}, containing the domain authorization string.

  3. Validation Request: The ACME server attempts validation in the following order:

    • http://_acme-challenge.example.com/.well-known/acme-challenge/{token}

    • http://example.com/.well-known/acme-challenge/{token}

    An ACME server MUST try the undelegated URL if the delegated URL fails.

  4. Validation Response: The designated server responds with the authorization string, which the ACME server verifies against the expected value.

  5. Challenge Completion: If the validation succeeds, the challenge status is updated to “valid.” If it fails, the status is updated to “invalid,” with diagnostic information provided.

4. Security Considerations

5. IANA Considerations

TODO: https://github.com/jmcrawford45/draft-crawford-acme-delegated-http/issues/1

6. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8555]
Barnes, R., Hoffman-Andrews, J., McCarney, D., and J. Kasten, "Automatic Certificate Management Environment (ACME)", RFC 8555, DOI 10.17487/RFC8555, , <https://www.rfc-editor.org/rfc/rfc8555>.

Acknowledgments

TODO acknowledge.

Authors' Addresses

Jared Crawford
Netflix
Andrew Chen
Netflix
Hoss Shafagh
Netflix