Certbot: Invalid response from /.well-known/acme-challenge/ (403/404)

ACME HTTP-01 validation could not read the challenge token due to firewall, DNS, or Nginx block.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: Certbot: Invalid response from /.well-known/acme-challenge/ (403/404) Platform: TLS / Certbot

Interactive Diagnostic Checklist

Safe Diagnostic Command:
sudo certbot renew --dry-run

Technical Explanation

ACME HTTP-01 validation could not read the challenge token due to firewall, DNS, or Nginx block. Verified resolution path: Ensure port 80 is open, DNS A record points to the VM, and Nginx does not block `/.well-known/acme-challenge/`.

Worked Examples

  • Read-only diagnostic command: sudo certbot renew --dry-run

Limitations & Assumptions

  • Always verify which infrastructure layer (CDN, Nginx, runtime, OS, or database) emitted the error before modifying production config.

Source References & Verification

Resource ID: err-certbot-unauthorized-challenge · Independently verified: 2026-11-25

Related Resources