udm-le.sh initial failing with custom lego provider
cHaos91 opened this issue · comments
runnning:
./udm-le.sh initial
in folder /mnt/data/udm-le
returns error:
/.udm-le.sh: /mnt/data/udm-le/udm-le.env: line 20: lego: not found
The issue you're seeing is because on line 20 of your environment file you're trying to call lego to issue a cert using DuckDNS as your provider, which is not technically supported in udm-le.
This isn't to say that it couldn't be, but what you're attempting isn't how you'd go about implementing it.
any hints on how to correctly implement this or a way to get this provider supported?
I'm not near a computer at the moment but changing the DNS_PROVIDER variable to duckdns and specifying the token in the env file may be all you need to do.
thank you I will give that a try
When I set min up to work with Linode, I had to do the following. Maybe this will help.
DNS_PROVIDER='linode'
LEGO_EXPERIMENTAL_CNAME_SUPPORT=TRUE
LINODE_TOKEN=###############
LINODE_PROPAGATION_TIMEOUT=120
turns out this is all i needed,
perhapse we can add it to the tested and supported providers.
#DuckDNS Provider
DNS_PROVIDER='duckdns'
DUCKDNS_TOKEN=xxxxxx-xxxxx-xxxx-xxxx-xxxxxxxx