PBS ACME with PowerDNS

lclements0

Member
Oct 12, 2021
19
4
8
37
Setup a Proxmox Backup Server today and trying to do an ACME registration with a PowerDNS server.

Getting an error back from PowerDNS on creation of the certificate where the domain isn't valid?

[Fri Dec 23 10:40:22 PST 2022] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7

[Fri Dec 23 10:40:23 PST 2022] error /api/v1/servers/localhost/zones

[Fri Dec 23 10:40:23 PST 2022] invalid domain

[Fri Dec 23 10:40:23 PST 2022] Error add txt for domain:_acme-challenge.host.domain.com

Sleeping 30 seconds to wait for TXT record propagation
TASK ERROR: '/usr/share/proxmox-acme/proxmox-acme setup' exited with error (1)

When querying the PowerDNS API directly, querying /api/v1/servers/localhost/zones returns all the zones correctly with the same API key, so I'm a bit confused as to what's going on here. Any suggestions?

Thanks!
 
After reviewing the shell script for pdns on PBS itself, it looks like this was just simple user error.

Ignore.