Browse Source

Detect binary location

Brielle Bruns 8 months ago
parent
commit
c439a4793c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      gen-cert.sh
  2. 1 1
      gen-unifi-cert.sh

+ 1 - 1
gen-cert.sh View File

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

+ 1 - 1
gen-unifi-cert.sh View File

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