Join our Newsletter — 33% off our NHI Course

How does HTTP-01 Challenge work?

HTTP-01 Challenge is an ACME validation method where a certificate requester proves control of a domain by serving a specific token over HTTP at a well-known path. If an attacker can alter web content or routing, they may obtain a certificate. Defenders should restrict webserver changes, secure redirects and monitor challenge file placement.

How HTTP-01 proves domain control

HTTP-01 is a domain validation step in the ACME flow. The requester is given a token and must make it available at a predictable path on the target domain over plain HTTP, so the CA can fetch it and confirm that the requester controls the site serving that hostname.

The important security property is possession of the web-serving path, not proof of business ownership. That makes HTTP-01 fast and easy to automate, but it also means the challenge is only as trustworthy as the domain’s HTTP routing, web root handling, and redirect behaviour.

Where HTTP-01 succeeds, and where it can be abused

HTTP-01 is strongest when the web server is tightly controlled and the challenge file path is isolated from normal application content. If an attacker can write to the site, alter reverse-proxy rules, or influence routing, they may be able to satisfy the challenge without legitimate domain control. That is why challenge files and routing rules deserve the same operational discipline as other security-sensitive web assets.

For teams that want a broader view of abuse patterns around web-based challenge and verification flows, Bot Management Guide is useful background on how automation, routing manipulation, and verification bypass can interact in practice. For the protocol-side trust model, Model Context Protocol: Authorization specification shows the same general principle in another setting, namely that a verifier should not trust a path or token flow unless the receiving endpoint is clearly controlled and the audience is constrained.

HTTP-01 is also sensitive to redirects, rewrite rules, and unexpected hosting layers. A misconfigured CDN, shared hosting setup, or wildcard proxy can make the challenge answer reachable in ways the operator did not intend, which is why a working certificate issuance does not always mean the environment is well governed.

Operational limits of HTTP-01 and what defenders should watch

HTTP-01 is convenient because it requires little client-side complexity, but that convenience comes with a narrow trust boundary: the validation request must reach the exact site the operator claims to control. If routing, DNS, or web content is delegated across multiple teams or platforms, the chance of an accidental or malicious bypass rises quickly.

Defenders should treat challenge-file placement, rewrite logic, and webserver change control as the critical control points. If those paths are not tightly monitored, an attacker may only need temporary write access or a short-lived configuration change to obtain a valid certificate and use it to strengthen phishing, impersonation, or traffic interception attempts.

Risk and Threat Considerations

HTTP-01 creates exposure wherever web content, hosting configuration, or routing can be changed by the wrong party. The challenge is simple by design, but that simplicity means compromise of the web layer can translate directly into certificate issuance, which is a high-value abuse path for attackers.

Failure mechanism: An attacker with content-write access, proxy control, or route manipulation can place the expected token at the validation path and satisfy the CA’s fetch, even without legitimate authority over the domain.

Impact: The resulting certificate can support impersonation, man-in-the-middle positioning, or trust abuse against users and systems that assume the certificate reflects genuine domain control.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 provides the primary governance reference for this topic.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 IA-9 — Service Identification and Authentication HTTP-01 depends on controlled endpoint authentication and proof of serving-path control.
AC-3 — Access Enforcement Web content and routing changes must be limited to prevent unauthorized challenge placement.
AU-2 — Event Logging Challenge file placement and routing changes need auditability to detect abuse or misissuance.
Recommendation — Restrict challenge-serving paths and verify only authorized services can answer validation requests. Enforce least-privilege write access to web roots, rewrites, and proxy rules. Log and review changes to challenge files, redirects, and webserver configuration.

Practitioner Guidance

What to verify: Confirm which component actually serves the well-known challenge path, then verify that only the intended deployment path can write to it. If a CDN, platform router, or shared web root is involved, test the full request path end to end rather than assuming the origin server is the only control point.

Decision rule: If you cannot tightly control web content changes or routing decisions, treat HTTP-01 as a weaker fit and prefer a validation method that better matches your operational model. If you do use HTTP-01, limit the blast radius by keeping challenge handling separate from application content and by monitoring unexpected file creation or rewrite changes.

Practitioner takeaway: HTTP-01 is trustworthy only to the extent that your web-serving path is trustworthy, so the real control problem is not the token itself but who can influence the route that exposes it.