autodns acme shows "invalid domain"

Jul 31, 2023
13
3
8
Hi, I have a similar issue as: https://forum.proxmox.com/threads/cant-add-certificate-with-acme-dns-cloudflare.69828/

But I don't use cloudflare, I use autodns (internetx).
https://github.com/acmesh-official/acme.sh/wiki/dnsapi#36-use-autodns-internetx
https://github.com/acmesh-official/acme.sh/blob/master/dnsapi/dns_autodns.sh

When issuing manually with acme.sh script everything works fine, but via the proxmox web-gui it shows error "invalid domain"
command line:
Code:
acme.sh --issue --dns dns_autodns -d mydomain.example.org --staging --debug --test

1690812271514.png

I replaced the checks on line 40/41 and 125/126 in the file
Code:
/usr/share/proxmox-acme/dnsapi/dns_autodns.sh
with
Code:
echo "nice"
to test if this will resolve my issue, but inluckily no.

Code:
[...]
  if ! _get_autodns_zone "$fulldomain"; then
#    _err "invalid domain"
  echo "nice"
#   return 1
  fi
 
[...]

    if [ "$?" -ne "0" ]; then
#      _err "invalid domain"
    echo "nice"
#      return 1
    fi

1690812732930.png