autodns acme shows "invalid domain"

lug-pm

New Member
Jul 31, 2023
6
0
1
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
 

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!