PBS ACME with PowerDNS

lclements0

Member
Oct 12, 2021
19
4
8
36
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!