Hello,
I am trying to update my DNS records using a shell script that gets trigger using the manual-auth-hook param. The same script should also delete the DNS records when the manual-cleanup-hook is triggered.
According to the manual the enviroment variable CERTBOT_AUTH_OUTPUT contains the output “the auth script wrote to stdout”. In my case this variable is always empty and I have no idea why.
I am trying to update the cert using certbot:
sudo certbot certonly --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory --manual-public-ip-logging-ok -d test.de --dry-run --test-cert --manual-auth-hook=/home/pi/./auth.sh --manual-cleanup-hook=/home/pi/./cleanup.sh
In this example I use another shell script for cleanup just to be sure it gets called. Has anyone a solution for this issue?