Detect binary location

master
Brie Bruns 2017-03-21 16:29:08 -06:00
parent 63bc2a8798
commit c439a4793c
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Original proxy idea from: # Original proxy idea from:
# http://evolvedigital.co.uk/how-to-get-letsencrypt-working-with-ispconfig-3/ # http://evolvedigital.co.uk/how-to-get-letsencrypt-working-with-ispconfig-3/
PROXYAUTH="--standalone --standalone-supported-challenges http-01 --http-01-port 9999" PROXYAUTH="--standalone --preferred-challenges http-01 --http-01-port 9999"
# Location of LetsEncrypt binary we use. Leave unset if you want to let it find automatically # Location of LetsEncrypt binary we use. Leave unset if you want to let it find automatically
#LEBINARY="/usr/src/letsencrypt/certbot-auto" #LEBINARY="/usr/src/letsencrypt/certbot-auto"

View File

@ -86,7 +86,7 @@ if [[ ${onlyinsert} != "yes" ]]; then
${LEBINARY} \ ${LEBINARY} \
--server https://acme-v01.api.letsencrypt.org/directory \ --server https://acme-v01.api.letsencrypt.org/directory \
--agree-tos \ --agree-tos \
--standalone --standalone-supported-challenges tls-sni-01 \ --standalone --preferred-challenges tls-sni-01 \
${LEOPTIONS} ${LEOPTIONS}
fi fi