Skip to content

ACME TLS ALPN 01 Challenge

Endi S. Dewata edited this page Nov 23, 2026 · 5 revisions

Overview

The ACME Responder supports domain validation using TLS-ALPN-01 challenge as described in RFC 8737.

Warning
This feature is still under development.

Workflow

   +-------------------+                         +-------------------+
   |                   |---(1) Order Request---->|                   |
   |    ACME Client    |                         |    ACME Server    |
   |  (e.g., Certbot/  |<--(2) Challenge Token---|    (e.g., CA)     |
   |   Caddy Agent)    |                         |                   |
   +-------------------+                         +-------------------+
             |                                             |
             |                                             |
     (3) Configure Temporary                               |
         Self-Signed Cert                                  |
             |                                             |
             v                                             |
   +-------------------+                                   |
   |    Web Server     |<---(4) TLS Handshake (Port 443)---+
   | (e.g., Nginx,     |        ALPN: "acme-tls/1"
   |  Apache, Caddy)   |
   +-------------------+
             |
   (5) Validation Success
       & Final Cert Issued
  • The ACME client requests a certificate for a domain from the ACME responder.

  • The ACME responder generates a token and responds with a TLS-ALPN-01 challenge.

  • The ACME client uses the token and the account key to create a key authorization.

  • The ACME client generates a self-signed certificate containing:

    • A subjectAlternativeName (SAN) extension specifying the domain.

    • An acmeIdentifier extension specifying the key authorization.

  • The ACME client configures a TLS server that supports ALPN protocol and installs the self-signed certificate.

  • The ACME client notifies the ACME responder that it is ready for validation.

  • The ACME responder connects to the TLS server with ALPN protocol.

  • The SSL server returns the self-signed certificate to the ACME responder.

  • The ACME responder validates the key authorization in the self-signed certificate.

  • The ACME responder issues an actual certificate.

  • The ACME client retrieves the actual certificate.

See Also

Clone this wiki locally