Skip to content

v3.0 - Native DNS for ACME challenges

Latest

Choose a tag to compare

@morisson morisson released this 09 Apr 17:11
48c43a4

v3.0 - Native DNS for ACME challenges

This release replaces the hacked certbot-dns-cloudflare plugin and dnsmasq with Burp Collaborator's own built-in DNS server for Let's Encrypt certificate issuance and renewal.

What changed

Certificate issuance now uses Burp's native DNS. During initial setup and renewals, certbot's manual hooks inject _acme-challenge TXT records directly into Burp's customDnsRecords configuration. No more dnsmasq, no more fake Cloudflare plugin — Burp serves the ACME challenges itself.

Breaking changes

  • jq is now a required dependency on the host
  • The old certbot-dns-burp plugin directory has been removed entirely
  • init.sh no longer patches certificaterenewal.sh with sed placeholders: the renewal script now reads the domain dynamically from burp.config

Improvements

  • Simpler architecture: eliminated the custom certbot Python plugin, dnsmasq, and the port 53 juggling between containers
  • DNS-only startup mode: during initial setup, Burp starts with a minimal config (no TLS) to serve ACME challenges before certificates exist
  • Better error handling: init.sh now uses trap instead of { } || { }, so it fails fast and reports errors correctly
  • Port 53 pre-check: init.sh detects if port 53 is already in use (e.g. systemd-resolved) and exits with guidance
  • Config template pattern: ships burp.config.template instead of burp.config, preventing git conflicts on the active config
  • POSIX fixes: == replaced with =, command -v instead of which, correct exit codes
  • Renewal script: derives domain and base directory automatically from burp.config — no more hardcoded placeholders

Migration from v2.x

Existing installations don't need to re-run init.sh. To adopt the new renewal flow:

  1. Pull the latest code
  2. Install jq on the host if not already present
  3. Rebuild the certbot image: docker build -t certbot-burp certbot
  4. The next certificate renewal will use the new hooks automatically