forked from brielle/lets-encrypt-scripts
Change LE command to 'certbot-auto'
parent
ee2f2daee0
commit
f535d17903
|
@ -30,7 +30,7 @@ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
PROXYAUTH="--standalone --standalone-supported-challenges http-01 --http-01-port 9999"
|
PROXYAUTH="--standalone --standalone-supported-challenges http-01 --http-01-port 9999"
|
||||||
|
|
||||||
# Location of LetsEncrypt binary we use
|
# Location of LetsEncrypt binary we use
|
||||||
LEBINARY="/usr/src/letsencrypt/letsencrypt-auto"
|
LEBINARY="/usr/src/letsencrypt/certbot-auto"
|
||||||
|
|
||||||
if [[ ! -x ${LEBINARY} ]]; then
|
if [[ ! -x ${LEBINARY} ]]; then
|
||||||
echo "Error: LetsEncrypt binary not found in ${LEBINARY} !"
|
echo "Error: LetsEncrypt binary not found in ${LEBINARY} !"
|
||||||
|
|
|
@ -21,7 +21,7 @@ while getopts "ird:e:" opt; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Location of LetsEncrypt binary we use
|
# Location of LetsEncrypt binary we use
|
||||||
LEBINARY="/usr/src/letsencrypt/letsencrypt-auto"
|
LEBINARY="/usr/src/letsencrypt/certbot-auto"
|
||||||
|
|
||||||
# Command line options depending on New or Renew.
|
# Command line options depending on New or Renew.
|
||||||
NEWCERT="--renew-by-default certonly"
|
NEWCERT="--renew-by-default certonly"
|
||||||
|
|
Loading…
Reference in New Issue