mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-14 17:12:44 +00:00
Revert "Fix IP check on multi IP boxes"
This reverts commit 19ade07a1d56e2224df938bd7b9ce9fdb960df5e.
This commit is contained in:
parent
6fe8b2af19
commit
60b0538fe8
6
acme.sh
6
acme.sh
@ -3182,10 +3182,7 @@ _on_before_issue() {
|
||||
_netprc="$(_ss "$_checkport" | grep "$_checkport")"
|
||||
netprc="$(echo "$_netprc" | grep "$_checkaddr")"
|
||||
if [ -z "$netprc" ]; then
|
||||
# Only check for local bindings when you aren't looking for a specific IP
|
||||
if [ -z "$_checkaddr" ]; then
|
||||
netprc="$(echo "$_netprc" | grep "$LOCAL_ANY_ADDRESS")"
|
||||
fi
|
||||
netprc="$(echo "$_netprc" | grep "$LOCAL_ANY_ADDRESS")"
|
||||
fi
|
||||
if [ "$netprc" ]; then
|
||||
_err "$netprc"
|
||||
@ -4250,7 +4247,6 @@ $_authorizations_map"
|
||||
|
||||
fi
|
||||
elif [ "$vtype" = "$VTYPE_ALPN" ]; then
|
||||
_ncaddr="$(_getfield "$_local_addr" "$_ncIndex")"
|
||||
acmevalidationv1="$(printf "%s" "$keyauthorization" | _digest "sha256" "hex")"
|
||||
_debug acmevalidationv1 "$acmevalidationv1"
|
||||
if ! _starttlsserver "$d" "" "$Le_TLSPort" "$keyauthorization" "$_ncaddr" "$acmevalidationv1"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user