So I use this script to automate SSL certificates, but had issues with cli53 not being recognized when called from a script. On Debian, all I had to do was specify the path in the 3 places cli53 is referenced to /usr/local/bin/cli53. I'm not sure if making that change would potentially create issues for other distros though.
Could we instead add to the script something like
cli53Path = which cli53
and then replace the cli53 command with a $cli53Path? ie: ${cli53Path} rrcreate --append --wait "${ZONE}" "_acme-challenge.${DOMAIN}. 60 TXT ${TOKEN_VALUE}"
I'm not the best at scripting, but I thought I would throw the idea out there.
So I use this script to automate SSL certificates, but had issues with cli53 not being recognized when called from a script. On Debian, all I had to do was specify the path in the 3 places cli53 is referenced to /usr/local/bin/cli53. I'm not sure if making that change would potentially create issues for other distros though.
Could we instead add to the script something like
cli53Path = which cli53
and then replace the cli53 command with a$cli53Path? ie: $ {cli53Path} rrcreate --append --wait "${ZONE}" "_acme-challenge.${DOMAIN}. 60 TXT ${TOKEN_VALUE}"
I'm not the best at scripting, but I thought I would throw the idea out there.