mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-27 15:31:43 +00:00
Update acme.sh
fix https://github.com/acmesh-official/acme.sh/issues/4001
This commit is contained in:
parent
a50158cbeb
commit
0d05f9ba80
2
acme.sh
2
acme.sh
@ -1845,8 +1845,10 @@ _inithttp() {
|
|||||||
_ACME_WGET="$_ACME_WGET --max-redirect 0 "
|
_ACME_WGET="$_ACME_WGET --max-redirect 0 "
|
||||||
fi
|
fi
|
||||||
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ]; then
|
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ]; then
|
||||||
|
if [ "$_ACME_WGET" ] && _contains "$($_ACME_WGET --help 2>&1)" "--debug"; then
|
||||||
_ACME_WGET="$_ACME_WGET -d "
|
_ACME_WGET="$_ACME_WGET -d "
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if [ "$CA_PATH" ]; then
|
if [ "$CA_PATH" ]; then
|
||||||
_ACME_WGET="$_ACME_WGET --ca-directory=$CA_PATH "
|
_ACME_WGET="$_ACME_WGET --ca-directory=$CA_PATH "
|
||||||
elif [ "$CA_BUNDLE" ]; then
|
elif [ "$CA_BUNDLE" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user