ACME DNS-01 authenticator for TrueNAS using Hetzner DNS.
Fork of g0rbe/truenas-acme-hetzner — migrated to the new Hetzner Cloud API before the May 2026 shutdown of the legacy DNS Console.
Hetzner is migrating DNS management from the legacy DNS Console (dns.hetzner.com) to the Hetzner Cloud Console (console.hetzner.com):
| Legacy (upstream) | New (this fork) | |
|---|---|---|
| Console | dns.hetzner.com | console.hetzner.com |
| API | Hetzner DNS API | Hetzner Cloud API |
| Library | elmasy-com/elnet |
Official hcloud-go |
| Status | ✅ Supported |
Key dates:
- Nov 10, 2025: New zone creation disabled on legacy console
- May 2026: Legacy DNS Console completely shut down
This fork is a drop-in replacement — same CLI interface, same config file location.
⚠️ NEW API TOKEN REQUIREDYour existing DNS Console token (
dns.hetzner.com) will not work. You must create a new token in the Hetzner Cloud Console. See Configuration below.
Steps:
- Replace the binary with the new release
- Create a new API token in Hetzner Cloud Console
- Update
$HOME/.tahtokenwith the new token - Migrate your DNS zone if not already done
- TrueNAS SCALE 24.x+
- Domain with DNS managed by Hetzner (migrated to Cloud Console)
- Hetzner Cloud API token with DNS permissions
wget -O /mnt/pool/tah https://github.com/tkronawitter/truenas-acme-hetzner/releases/latest/download/tah-linux-amd64
chmod +x /mnt/pool/tah/mnt/pool/tah init
⚠️ You need a Hetzner Cloud Console token, NOT the old DNS Console token.
- Go to Hetzner Cloud Console
- Select your project (or create one)
- Go to Security → API Tokens
- Click Generate API Token
- Name it (e.g., "TrueNAS ACME") and select Read & Write permissions
- Copy the token immediately (it won't be shown again)
See Hetzner docs on generating API tokens.
echo -n "YOUR_CLOUD_API_TOKEN" > $HOME/.tahtokenNote: File must contain only the token string, no trailing newline.
If your domain is still on the old DNS Console, migrate it first.
/mnt/pool/tah test nas.example.comIn TrueNAS UI: Credentials → Certificates → ACME DNS-Authenticators
- Authenticator: Shell
- Script:
/mnt/pool/tah
git clone https://github.com/tkronawitter/truenas-acme-hetzner.git
cd truenas-acme-hetzner
go build -o tah .- Hetzner DNS Migration Docs
- Hetzner Cloud API Token Guide
- hcloud-go Library
- TrueNAS Shell Authenticator Source
- Original Project
MIT License - see LICENSE for details.
Originally created by Dániel Görbe.