acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
38.5k stars 4.9k forks source link

script on docker + DSM deploy not working #5236

Open lugaetsch opened 1 month ago

lugaetsch commented 1 month ago

I am running acme.sh in the official docker image as daemon. Docker host is my DSM itself. To deploy my generated certificates to my synology I am running the code after providing username + pass for the API-call authentication:

docker exec acme.sh --deploy --deploy-hook synology_dsm -d *.mydomain.com --log /acme.sh/log/log --debug 2

debug -2 log throws:

[...]
[Sun Aug  4 12:48:32 UTC 2024] == Info: Could not resolve host: mydsmhostname.mydomain.com == Info: Closing connection
[...]

Container is running in bridged-network. Tried to disable firewall on DSM, changed network to "host" - still same error.

github-actions[bot] commented 1 month ago

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.