jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
756 stars 167 forks source link

DNS Challenge for DuckDns not working with Wildcard Zertifikat #248

Open Softdatadelphi opened 2 years ago

Softdatadelphi commented 2 years ago

I wanted to create a wildcard certificate. For this I wanted to use DuckDNS. I have entered all my data. I also entered the token from Duckdns. Unfortunately, I always get an error message. I have replaced xxx in certain places. I have the correct data in there. If I create a wildcard certificate myself, it works. It would be nice if it also worked here and when it expires it is automatically renewed. Can someone help me ?

error message

Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-7" --agree-tos --email "xxx@gmx.de" --domains "*.xxx .duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-7" An unexpected error occurred: ModuleNotFoundError: No module named 'dns' Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmpq3vsn54y/log or re-run Certbot with -v for more details.

at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 
popy2k14 commented 4 months ago

Exactly the same issue when requesting an let's encrypt wildcard cert for ".mydomain.duckdns.org". Without the prefix "." (-> no wildcard certificate) it works.

Any chance to get this fixed?

PS.: Running latest HA addon which is currently @ Nginx Proxy Manager v2.10.4.