DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk4 min

How ACME HTTP-01 and DNS-01 Challenges Work Internally

ACME validates domain control before certificate issuance. Learn how HTTP-01 checks a key authorization over port 80, how DNS-01 checks a TXT digest, and which method fits your deployment.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

ACME’s HTTP-01 and DNS-01 challenges let a certificate authority (CA) verify that you control a domain identifier before it issues a certificate. HTTP-01 checks a token-derived response at a web address on port 80; DNS-01 checks a token-derived value in a DNS TXT record. Neither challenge issues a certificate by itself: the ACME order must still be finalized with a certificate signing request (CSR).

How an ACME order and authorization work

ACME separates proving control of an identifier from requesting the certificate. The protocol flow, defined in RFC 8555, is:

As an Amazon Associate I earn from qualifying purchases.

  1. Create an order. The client asks the ACME server for a certificate covering one or more identifiers, such as domain names. The server returns the authorizations required by its policy; there is not necessarily one authorization resource for every identifier in the order.
  2. Select and prepare a challenge. A pending authorization contains challenge objects. The client chooses a supported challenge type and puts the required proof in place before telling the server the challenge is ready for validation.
  3. Complete validation. The CA checks the proof using the selected method. Success makes the authorization valid; a failed check can make it invalid. The protocol also defines other authorization states, including expiration, deactivation, and revocation.
  4. Finalize the order. Once all authorizations required for the order are valid, the order becomes ready. The client submits a PKCS#10 CSR to the order’s finalize URL. If the CA processes it and issues the certificate, the order becomes valid and provides a certificate URL.

The distinction matters: a challenge proves control of an identifier at validation time, while finalization is the separate step that asks the CA to issue the requested certificate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How HTTP-01 constructs and checks its proof

What the client publishes

The ACME server supplies a token. The client makes a key authorization by joining the token, a period, and the base64url-encoded JWK thumbprint of the ACME account key. It serves that exact value at http://<domain>/.well-known/acme-challenge/<token>.

What the CA checks

The CA retrieves the challenge resource over HTTP and checks that its response matches the expected key authorization. RFC 8555 specifies HTTP on port 80 for HTTP-01. The proof therefore demonstrates control of the identifier’s web endpoint when the CA performs validation; it does not establish permanent control of the domain.

The challenge path must be publicly reachable by the validating CA. Web-server routing, reverse-proxy rules, and redirects can change what the CA receives, so confirm the behavior of the particular CA and deployment rather than assuming all redirect handling is identical. Let’s Encrypt’s challenge documentation describes its operational guidance, which is provider-specific rather than a replacement for the ACME standard.

How DNS-01 constructs and checks its proof

What the client publishes

The client first constructs the same key authorization used by HTTP-01: the challenge token, a period, and the base64url-encoded account-key JWK thumbprint. It then calculates the SHA-256 digest of that key authorization and base64url-encodes the digest. That encoded value is published as a TXT record at _acme-challenge.<domain>.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why the TXT record is the proof

The CA looks up the TXT record for the challenge name and checks whether it contains the expected digest. The record carries a value derived from the challenge token and account key, rather than the original key authorization served as a web page. The lookup lets the CA check control through DNS without making an inbound HTTP request to the domain’s web server.

DNS-01 supports wildcard identifier validation; HTTP-01 does not. For Let’s Encrypt specifically, the documented DNS lookup behavior follows DNS standards and allows CNAME or NS records to delegate challenge answering to another zone. Delegation can separate challenge automation from the primary DNS zone, but any automation credentials still need to be limited carefully. Let’s Encrypt’s operational notes describe this provider behavior.

HTTP-01 vs. DNS-01: choose by deployment

Decision factor HTTP-01 DNS-01
What the CA must reach The challenge URL on the domain over HTTP port 80. A DNS TXT record at _acme-challenge.<domain>; no inbound web request is required.
Wildcard identifiers Not supported. Supported.
Automation interface The client or web stack must place the response at the correct challenge path. The client must publish the TXT value, manually or through DNS automation.
Main operational consideration Public reachability and correct routing of the challenge path. Safe handling and scope of DNS credentials; delegated challenge zones can help isolate automation.

Choose HTTP-01 when

  • You can make the challenge URL publicly reachable over port 80.
  • Your ACME client or web-server stack can reliably serve the response at the required path.
  • You do not need wildcard validation.

Choose DNS-01 when

  • You need to validate a wildcard identifier.
  • Your deployment cannot accept inbound HTTP validation requests.
  • You can publish the required TXT record, and can manage DNS automation credentials with appropriate limits. Delegating the challenge name to a separate zone may help constrain the automation boundary.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What the protocol does—and what depends on the CA

RFC 8555 defines the challenge-response protocol and the HTTP-01 and DNS-01 proof checks. A certificate authority’s operational instructions explain how that provider performs or supports validation in practice. For example, Boulder is the software implementation used by Let’s Encrypt; its behavior is implementation-specific, not the definition of every ACME server. Boulder’s documentation and source are useful for understanding that implementation, while protocol requirements should be read in the RFC.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.