My domain is: cinteo.de
I ran this command: /usr/bin/certbot renew --manual --preferred-challenges=http --manual-auth-hook /etc/letsencrypt/renewal-hooks/pre/authenticator.sh --manual-cleanup-hook /etc/letsencrypt/renewal-hooks/post/cleanup.sh --deploy-hook /etc/letsencrypt/renewal-hooks/deploy/deploy.sh --max-log-backups 20 -n --force-renewal
It produced this output:
Error output from authenticator.sh:
/etc/letsencrypt/renewal-hooks/pre/authenticator.sh: line 6: /webserver/dir/.well-known/acme-challenge/: Is a directory
My web server is (include version): The problem does not resolve around the web server
The operating system my web server runs on is (include version): Ubuntu 14.04.5 LTS
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
Additional:
The authenticator.sh-script looks like:
CERT_DIR="/webserver/dir/.well-known/acme-challenge"
if [ ! -d "$CERT_DIR" ]; then
mkdir -p "$CERT_DIR"
fi
echo "$CERTBOT_VALIDATION" > "$CERT_DIR/$CERTBOT_TOKEN"
The error you can see above, indicates that the echo command cannot work with the variables. Although the documentation[0] indicates, that there will be those variables injected to the script