Skip to content

Cert renewal via Let's Encrypt: HTTP-01 or DNS-01 challenge, no idea which is better

HTTP-01 is simple but requires a public port 80 on the origin. DNS-01 works anywhere (behind firewalls, for wildcards, for split-horizon), but requires DNS API access. For wildcard certs DNS-01 is mandatory.

Try this first

  1. 1For a single host with public port 80: HTTP-01 is simplest, certbot or acme.sh handles it in 30 seconds.
  2. 2For a wildcard (*.vectel.nl) or a cert behind a firewall without public port 80: DNS-01 is mandatory.
  3. 3For DNS-01 you need a DNS host with API: Cloudflare, Route 53, deSEC, DigitalOcean, or a DNS provider with an ACME-DNS-01 plugin.
  4. 4Create an API token scoped to TXT-record-write on your zone, not a full-access account token. Store it in a secrets manager, not hardcoded.
  5. 5For multi-host setups: have one machine pull certs via DNS-01 and distribute them, or use a central ACME relay (smallstep CA, step-ca).

When to bring us in

If you have distributed infrastructure with multiple certs and no automation, we can set up DNS-01 with acme.sh or cert-manager.

See also

None of the above fits?

Describe your situation below. We pass your input plus the steps you already saw to our AI and return tailored next-step advice. If it's too risky to DIY, we'll say so.

Who are you?

For the AI question we need your email and company, so we can follow up if the AI gets stuck, and to prevent abuse.

Limited to 2 questions per hour and 5 per day, kept lean so the AI stays useful. For more, contacting us directly works better for you and us.

Or skip the DIY entirely

Our Managed IT clients do not look these things up. One point of contact, a fixed monthly price, resolved within working hours.