ACME challenge types: HTTP-01, DNS-01 and TLS-ALPN-01 compared

Choose the ACME challenge that fits your network and platform, with what each one proves, what it needs open and the limits the sources document.

On this page

Which ACME challenge type fits your platform

Renewals have to run without people as certificate lifetimes shorten, and automated renewal runs on whichever challenge the certificate authority accepts and your client supports. HTTP-01, DNS-01 and TLS-ALPN-01 differ in what they prove and in what they need open: HTTP-01 proves control of a web server on port 80, DNS-01 proves control of a DNS zone, and TLS-ALPN-01 proves control of the service answering on port 443. Choosing among them starts with where your names are served and which ports you can expose to the certificate authority's validation servers.

Shorter lifetimes raise the stakes of that choice. Let's Encrypt's profiles page says Baseline Requirements limits drop to 100 days for certificate validity and authorization reuse on 15 March 2027, and to 47 days for validity and 10 days for authorization reuse on 15 March 2029. Authorization reuse is the period in which a completed validation can be used again, so a shorter reuse window means your challenge must succeed more often, on a shorter cycle. Platforms that depend on a manual or port-bound validation step will need to automate it or move to a method that can run unattended.

Who acts depends on your setup. Platform and network teams should confirm which ports reach the validation path for each name, and PKI or security owners should confirm with each certificate authority which challenge types it accepts for your account. Check the sources for each authority, not only the list above, before you commit to a method.

What the shorter lifetime schedule means for challenge validation

The table sets the Baseline Requirements schedule from the CA/Browser Forum against what each step means for HTTP-01, DNS-01 and TLS-ALPN-01. Read each row as a question about your platform: how often validation runs, what must stay reachable or writable, and what fails when renewal is done by hand.

Schedule stepWhat changes for validationWhat stops working when done by hand
From 15 March 2027Certificate validity and authorization reuse drop to 100 days, per Let's Encrypt's profiles page and CABF Ballot SC081v3Manual renewal calendars set around annual or two-year cycles no longer cover the shorter window
From 15 March 2029Certificate validity drops to 47 days and authorization reuse to 10 days, per Let's Encrypt's profiles pageAny step that needs a person to approve or install a certificate will run far more often than a yearly task
HTTP-01 under the schedulePort 80 and the /.well-known/acme-challenge/ path must stay reachable at every renewal, since the check repeats on the reuse intervalRedirects or firewall rules that block port 80 will break renewals that once succeeded only occasionally
DNS-01 under the scheduleThe _acme-challenge record must be writable by the client each time validation repeats, so DNS API access must be automatedManually editing TXT records for each renewal becomes a recurring task and a common point of failure
TLS-ALPN-01 under the schedulePort 443 must accept the acme-tls/1 negotiation at every validation, and this method cannot validate wildcard namesLoad balancers or proxies that terminate TLS without passing the ALPN value will block validation silently
Wildcard namesOnly DNS-01 can validate wildcard domains, so a wildcard certificate on the shortened schedule depends on DNS automationA wildcard renewal done by hand requires a DNS change every cycle, which the 10-day reuse window makes frequent
Authorization reuse windowA 10-day reuse window means the CA may ask for fresh proof roughly every 10 days, so each challenge type runs more oftenConfirm the exact reuse behavior for your CA and client in its documentation before planning

How HTTP-01, DNS-01 and TLS-ALPN-01 prove control of a name

Each ACME challenge type asks the client to prove it controls the name in a certificate order, and each one proves control in a different place. With HTTP-01, the client places a resource on the web server for the domain. RFC 8555 section 8.3 says the ACME server sends the request to TCP port 80, to a path under the fixed prefix /.well-known/acme-challenge/ followed by the challenge token. The body of that resource MUST be the ASCII key authorization. The key authorization is defined in RFC 8555 section 8.1 as the challenge token, a period, and the base64url encoding of the SHA-256 thumbprint of the account key. The protocol details are the same for every client, but the reader must confirm that the web server on port 80 actually serves that prefix, including through any redirects the server follows.

With DNS-01, the client proves control of the DNS zone rather than a web server. RFC 8555 section 8.4 says the client prepends the label _acme-challenge to the domain being validated and provisions a TXT record holding the base64url encoding of the SHA-256 digest of the key authorization. DNS-01 is the only one of the three that can be used for wildcard names, according to the Let's Encrypt challenge types page, and CNAME or NS records can delegate the answer to another zone. For platforms without public web servers or with many sites on separate hosts, the reader should confirm who can write to that label and whether the DNS provider's API is reachable from the client.

With TLS-ALPN-01, RFC 8737 defines a challenge in which the ACME server connects over TCP port 443 and the client negotiates the single application protocol name acme-tls/1, with only the validated domain in the SNI. The certificate returned for that handshake carries one dNSName in subjectAlternativeName and a critical acmeIdentifier extension, id-pe-acmeIdentifier { id-pe 31 }, holding the SHA-256 digest of the key authorization as a 32-byte OCTET STRING. Let's Encrypt notes that this challenge cannot validate wildcard domains. Teams should confirm that their TLS terminator, such as a load balancer or ingress, can route the acme-tls/1 protocol to the ACME client before choosing this method.

Which challenge needs what from your network

HTTP-01 proves control of a name by having the ACME server fetch a resource over plain HTTP. The client places the key authorization at a fixed path under /.well-known/acme-challenge/ followed by the challenge token, and the server requests it on TCP port 80. The validation target must therefore answer on port 80 from the public internet, or from wherever the CA's validation traffic originates.

  • Port 80 only: Let's Encrypt states that the HTTP-01 challenge "can only be done on port 80," so inbound TCP 80 must reach the host answering for the name.
  • Fixed path: The resource must sit under /.well-known/acme-challenge/, and a reverse proxy or load balancer must pass that path through without rewriting it.
  • Redirects followed: Let's Encrypt follows up to 10 redirects, but only to http: or https: URLs on ports 80 or 443, and it does not validate certificates along the way.
  • Wildcards not covered: The sources for this topic do not list HTTP-01 as a way to issue wildcard names, so wildcard coverage needs a challenge that works through DNS.

Before choosing HTTP-01, confirm that port 80 is open to the CA's validation sources and that your load balancer forwards the challenge path to the issuing client.

How a challenge flows from client to CA and back

The flow starts when the ACME client creates an order with the CA, and the CA returns an authorization that names the challenge types it will accept. The client then provisions the response for the chosen challenge: a key authorization served as an HTTP resource on port 80, a DNS TXT record under _acme-challenge, or a TLS-ALPN-01 certificate presented on port 443. The CA validates over that port or record, and the order moves through the ready and valid states. Check that the port or DNS path is reachable from the CA before you start.

Message flow for an ACME order, from order creation to a valid order.

How to pick and configure a challenge in the client

This sequence takes you from the challenge types a CA offers to a tested issuance on a non-production name, so the challenge you choose matches the network and DNS access your platform actually has. Each step ends with a check you can confirm before you move on.

  1. Confirm which challenges the CA offers

    Before you configure anything, check which challenge types your certificate authority accepts for the account and provisioner you plan to use. The CA's documentation lists them, and so does the ACME directory or the provisioner settings on your own CA. Record the list next to each name you need to certify. If a challenge type is not offered, you cannot pick it for that CA, so this list narrows every later choice. You are done when you have a written list of offered challenge types per CA.

  2. Choose one challenge type per name

    For each name, pick the challenge that your network and DNS setup can satisfy. HTTP-01 needs TCP port 80 reachable to the validating server. DNS-01 needs write access to the DNS zone, and it is the challenge the sources say can issue wildcard names. TLS-ALPN-01 needs TCP port 443 reachable and cannot validate wildcard domains. Check each name against these requirements and note the chosen challenge in your inventory. You are done when every name has exactly one assigned challenge type and each assignment fits the access you confirmed.

  3. Set the Certbot preferred challenge option

    If you use Certbot, set the challenge preference with the --preferred-challenges option. The Certbot user guide describes it as a sorted, comma delimited list, with example values dns or http,dns. Use a single value when you need one challenge type, or a list when you want a fallback order. Confirm the exact flag behavior and accepted values for your Certbot version in its documentation, because this step only sets the preference and does not change what the CA offers. You are done when the command or configuration file contains the option with the value you chose for each name.

  4. Enable the provisioner challenge types in step-ca

    If your CA is step-ca, enable the challenge types you chose in the provisioner configuration in ca.json. The step-ca provisioner documentation shows a sample that enables http-01, dns-01 and tls-alpn-01. Keep only the challenge types you plan to use, since the documentation also says device-attest-01, wire-oidc-01 and wire-dpop-01 are disabled by default. Restart or reload the CA as your deployment requires, then confirm the provisioner reports the challenge types you enabled. You are done when the provisioner configuration lists exactly the challenge types you intend to validate.

  5. Verify the reachable port or DNS write access

    Confirm the network path your chosen challenge requires before you request a certificate. For HTTP-01, check that TCP port 80 answers on the name being validated, and that any redirects go only to http or https URLs on ports 80 or 443, since the Let's Encrypt challenge types page describes that behavior. For TLS-ALPN-01, check that TCP port 443 answers. For DNS-01, check that your automation can create the _acme-challenge record in the zone, and that any CNAME or NS delegation points to a zone you can write. Test each path from outside the host where the client runs, since that is what the validating server sees. You are done when each name shows a reachable port or a successful test record write.

  6. Test issuance on a non-production name

    Run a full issuance and renewal on a non-production name before you switch production names to the new setup. Use a name you control, and confirm that the CA issues a certificate using the challenge type you configured. Check the issued certificate's names, and confirm the client removed any temporary challenge record or file it created. If issuance fails, check the challenge type's requirement from the earlier steps before you change anything else. You are done when a test certificate issues through the chosen challenge on a non-production name and the client cleans up after itself.

What must be in place before a challenge can validate

Each ACME challenge type asks the CA to check something different on your side: a web path, a TLS handshake or a DNS record. Before you pick one, confirm that the network path, DNS control and account setup it needs already exist, because a challenge that cannot be reached fails before any certificate is issued.

Port 80 reachability for HTTP-01

HTTP-01 requires the CA's validation request to reach TCP port 80 on the host being validated, at a path under /.well-known/acme-challenge/ followed by the token. The Let's Encrypt challenge types page states that HTTP-01 can only be done on port 80. Check that load balancers, firewalls and ingress rules forward that port to the answering server, and that any redirect from port 80 leads only to an http: or https: URL on port 80 or 443, since validation follows up to 10 redirects.

Challenge types docs

Port 443 for TLS-ALPN-01

TLS-ALPN-01 requires the CA to open a TLS connection to TCP port 443, offering the ALPN protocol name acme-tls/1 and sending only the domain being validated in SNI. The server must return a certificate with that name and a critical acmeIdentifier extension. Confirm that the TLS terminator on port 443 can serve that per-challenge certificate for the requested name, because a proxy that holds the only certificate will fail the check.

RFC 8737

DNS write access and delegation

DNS-01 requires that you can create a TXT record at _acme-challenge under the name being validated. Your team needs write access to that zone, or a CNAME or NS delegation that points _acme-challenge to a zone the client can update. Delegation lets a separate, tightly scoped DNS zone hold challenge records without exposing the primary zone. The Let's Encrypt page notes that DNS-01 is the method that can issue wildcard names, so confirm this access for every zone you plan to cover.

Challenge types docs

The ACME account key pair

RFC 8555 section 3 says the client authenticates to the server with an account key pair. The key authorization used by every challenge is derived from that account key's thumbprint, so a changed or lost key breaks validation for the account. Decide where the private key is stored, who can read it and how it is backed up before you start issuing. Keep this key separate from the certificate private keys the server uses.

RFC 8555

Directory resources the client reaches

RFC 8555 section 7.1.1 lists the directory resources a client uses: newNonce, newAccount, newOrder, newAuthz (optional), revokeCert and keyChange. The client must reach each URL the directory advertises, so firewalls and egress proxies must allow the CA's API host over HTTPS. Confirm the directory URL for the CA you use in its own documentation, and test that the client can fetch it before you rely on it.

RFC 8555

Content-Type application/jose+json

RFC 8555 section 6.2 requires every request that carries a JWS to send the header Content-Type: application/jose+json. Proxies, API gateways and custom HTTP wrappers sometimes rewrite or drop this header, which causes the CA to reject requests even though the network path is open. If you run ACME through an intermediary, confirm it passes this header unchanged.

RFC 8555

What dns-persist-01 may change for DNS-based validation

The draft draft-ietf-acme-dns-persist-02 proposes a new validation method, dns-persist-01, that would let a domain owner prove control of a name with a long-lived DNS record instead of a fresh record for each challenge. The Internet-Draft is dated 20 September 2026, expires 24 March 2027, and is intended for the Standards Track. The method places a TXT record at the label _validation-persist under the domain being validated. That record carries an accounturi value identifying the ACME account authorized to validate, and a persistUntil value giving the expiry of that authorization. Because the record persists, a client could in principle renew certificates without provisioning a new DNS record on every order.

The IETF 126 ACME minutes of 23 July 2026 summarize the work as a long-lived DNS TXT record carrying an accounturi and a persistUntil expiry. The stated next step is to publish version -02 once key rollover and binding are complete. This is a draft. Clients and certificate authorities have not yet adopted dns-persist-01, and the sources listed here do not show any implementation or deployment. Do not plan around the method as available today.

For teams that already use DNS-01, the practical question is what to confirm now. Check whether your DNS provider and your ACME client expose the record types and API calls needed to manage a _validation-persist record, and whether your CA lists the method once it ships. Keep your existing DNS-01 automation in place. Track the draft's status on the IETF Datatracker, and review the account binding and expiry fields once the document is final, since they will determine how long an account's authorization stays valid.

Questions people ask about ACME challenge types

Which ACME challenge type should I use for wildcard certificates?

Use DNS-01. Let's Encrypt's challenge types page says DNS-01 can be used to issue certificates containing wildcard domain names. The client proves control by provisioning a TXT record at the _acme-challenge label of the name being validated, as RFC 8555 section 8.4 describes, so it does not need an open web server. HTTP-01 and TLS-ALPN-01 cannot cover wildcard names. Before you start, confirm that your DNS provider has an API or a supported plugin, because the client must create and remove that record on every renewal. Check your CA's documentation for its wildcard rules and its current validity periods.

Does HTTP-01 only work on port 443?

No. HTTP-01 must be served on TCP port 80. RFC 8555 section 8.3 says the request MUST be sent to port 80, under the fixed prefix /.well-known/acme-challenge/ followed by the token. Let's Encrypt's challenge types page says the HTTP-01 challenge can only be done on port 80. Its validation follows up to 10 redirects, but only to http or https URLs on ports 80 or 443, and it does not validate certificates along the way. Port 443 is therefore not a substitute. If port 80 is blocked at a firewall or load balancer, HTTP-01 will fail regardless of what is open on 443.

Can TLS-ALPN-01 issue wildcard certificates?

No. Let's Encrypt's challenge types page says TLS-ALPN-01 is performed via TLS on port 443 and cannot be used to validate wildcard domains. RFC 8737 defines the challenge: the ACME server connects over TCP port 443, the client negotiates the ALPN protocol name acme-tls/1, and the certificate it presents carries a single dNSName. Because only one name is validated per challenge, it suits single hostnames on a platform that already terminates TLS on port 443. For wildcard names, plan to use DNS-01 instead.

How does a DNS CNAME delegation help with DNS-01 challenges?

A CNAME delegation lets you point the challenge record for a name at a separate DNS zone that your automation can update without access to your main zone. Let's Encrypt's challenge types page says CNAME or NS records can delegate answering the DNS-01 challenge to other DNS zones. In practice, you create a CNAME from _acme-challenge.example.com to a name in a zone you control separately, and the client writes its TXT record there. This limits what credentials the renewal job needs and keeps the main zone out of its reach. Confirm that your CA accepts delegated validation and test the chain before relying on it.

Which challenge types does step-ca enable by default?

The step-ca provisioner documentation shows a sample ca.json that enables http-01, dns-01 and tls-alpn-01. The same page says device-attest-01, wire-oidc-01 and wire-dpop-01 are disabled by default. Check your own provisioner configuration rather than the sample, since the enabled set is what your CA actually accepts. Confirm which challenges your clients will request before you disable any, because a client that asks for a disabled challenge will fail.

How do I tell Certbot which challenge type to use?

Set the --preferred-challenges option. The Certbot user guide documents it as a sorted, comma-delimited list of preferred challenges, with example values dns or http,dns. The first challenge in the list that the server offers is used. For a wildcard certificate, the list must include dns, since HTTP-01 cannot validate that name. Check the Certbot user guide for the exact plugin support in your version before you change the setting in production.

Is it worth getting outside help to set up challenge validation?

It depends on how many names you issue, how many networks sit between the CA and each host, and whether your DNS provider and load balancers can be automated. Outside help is most useful when validation has to cross firewalls, split-horizon DNS or several DNS providers, because the failures are hard to trace. The cost comes from the scoping and testing work, plus any changes to DNS and network access, and whether it recurs depends on how often the setup changes. DeployOpen plans, implements and documents self-hosted ACME deployments inside your own infrastructure under a written, fixed scope, with a quote to follow from that scope. It does not issue certificates or attest to your configuration.

When do the shorter certificate lifetimes change which validation reuse applies?

Let's Encrypt's profiles page says Baseline Requirements limits drop to 100 days for certificate validity and authorization reuse on 15 March 2027, and to 47 days for validity and 10 days for authorization reuse on 15 March 2029. Authorization reuse matters for challenge planning because a shorter reuse window means your client may need to pass a challenge more often. Test whether your challenge setup still works at the shorter cadence, especially DNS-01 record cleanup and redirects. Check your CA's profile documentation for its own dates.

How DeployOpen helps teams choose and run ACME challenges

DeployOpen starts by mapping where each certificate name is needed and which challenge type your network can satisfy, whether that is HTTP-01 on port 80, DNS-01 for DNS control and wildcard names, or TLS-ALPN-01 on port 443. We then configure the chosen challenges in your own infrastructure and document how each one is validated, so your team can review and run the setup.

How we scope

  • We inventory the domain names that need certificates and note whether any require wildcard coverage.
  • We check which ports and DNS zones your network can expose or change for validation.
  • Engagements are fixed-scope, with the challenge types and deliverables agreed in writing before work starts.

How we build

  • We configure the chosen challenge types in your ACME client or certificate authority, such as enabling http-01, dns-01 or tls-alpn-01.
  • We set up DNS record automation for DNS-01 and check any CNAME or NS delegation your zones depend on.
  • We test issuance and renewal for each challenge type against your staging environment before production use.

How we hand over

  • We document which challenge type each certificate uses, the ports or DNS records it depends on, and the renewal steps.
  • We provide runbooks for diagnosing failed validations, such as port 80 reachability or missing TXT records.
  • We walk your platform and security team through the configuration so they can operate and audit it.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We review challenge choices when your network, DNS provider or certificate authority changes.
  • Ask us to confirm the current documentation for each challenge type and client version you run before rollout.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.