Browse Source

Change LE command to 'certbot-auto'

master
Brielle Bruns 5 years ago
parent
commit
f535d17903
  1. 2
      gen-cert.sh
  2. 2
      gen-unifi-cert.sh

2
gen-cert.sh

@ -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"
# Location of LetsEncrypt binary we use
LEBINARY="/usr/src/letsencrypt/letsencrypt-auto"
LEBINARY="/usr/src/letsencrypt/certbot-auto"
if [[ ! -x ${LEBINARY} ]]; then
echo "Error: LetsEncrypt binary not found in ${LEBINARY} !"

2
gen-unifi-cert.sh

@ -21,7 +21,7 @@ while getopts "ird:e:" opt; do
done
# 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.
NEWCERT="--renew-by-default certonly"

Loading…
Cancel
Save