[PVE-User] Trouble with LetsEncrypt/acme-dns in pve 7.3-4 - FIXED

Martin Dziobek dziobek at hlrs.de
Tue Jan 3 15:03:21 CET 2023


Ok - here is the fix:

in /usr/share/proxmox-acme/dns-challenge-schema.json:

diff dns-challenge-schema.json dns-challenge-schema.json_save:
13,14c13,14
<          "ACMEDNS_BASE_URL" : {
<             "description" : "The API base url",
---
>          "ACMEDNS_UPDATE_URL" : {
>             "description" : "The API update endpoint",

Then restart pveproxy.
Works.

Best regards,
Martin


On Tue, 3 Jan 2023 14:43:08 +0100
Martin Dziobek <dziobek at hlrs.de> wrote:

> Update:
> 
> I've been able to get those certificates on pprod by hard-coding
> the ACMEDNS_BASE_URL of our internal acme-dns-Server into
> /usr/share/proxmox-acme/dnsapi/dns_acmedns.sh
> 
> but needless to say that is only a POC, not a fix.
>  
> Best regards,
> Martin
> 
> 
> On Tue, 3 Jan 2023 13:34:58 +0100
> Martin Dziobek <dziobek at hlrs.de> wrote:
> 
> > Howdy, list members !
> > 
> > The situation:
> > I have a proxmox host (say ptest) running pve 7.3-3, 
> > and one (say pprod) running 7.3-4
> > 
> > On ptest, getting Letsencrypt certificates with the acme-dns plugin
> > and our internal acme-dns server works fine.
> > 
> > Trying the same config on pprod (for the first time with LE) fails with
> >  "invalid response of acme-dns"
> > 
> > Investigation:
> > /etc/pve/.version:
> > ptest shows    "priv/acme/plugins.cfg": 2,
> > pprod shows  "priv/acme/plugins.cfg": 3,
> > 
> > The handler scripts in
> > /usr/share/proxmox-acme/dnsapi/dns_acmedns.sh
> > have lots of differences for that reason.
> > 
> > The GUI dialog at Datacenter->ACME for configuring
> > Challenge plugins (type acme-dns), however, do show
> > *exactly the same predefined fields* on pprod and ptest,
> > namely "ACMEDNS_UPDATE_URL".
> > 
> > Unfortunately,  "ACMEDNS_UPDATE_URL" has been
> > dropped in the latest versions of acme.sh
> > (and in the handler scripts v.3)
> > In v.3 , this is now all based on ACMEDNS_BASE_URL,
> > but the change has obviously not been reflected to
> > the GUI dialog.
> > 
> > Would you proxmox guys kindly mind to fix this ?
> > 
> > Best regards,
> > Martin
> > 
> > 
> > _______________________________________________
> > pve-user mailing list
> > pve-user at lists.proxmox.com
> > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> >   
> 
> _______________________________________________
> pve-user mailing list
> pve-user at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 



More information about the pve-user mailing list