mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-21 15:43:29 +08:00
fix localaddress
https://github.com/acmesh-official/acme.sh/issues/7009#issuecomment-4633681701
This commit is contained in:
2
acme.sh
2
acme.sh
@@ -5312,6 +5312,8 @@ $_authorizations_map"
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ "$vtype" = "$VTYPE_ALPN" ]; then
|
elif [ "$vtype" = "$VTYPE_ALPN" ]; then
|
||||||
|
_ncaddr="$(_getfield "$_local_addr" "$_ncIndex")"
|
||||||
|
_ncIndex="$(_math $_ncIndex + 1)"
|
||||||
acmevalidationv1="$(printf "%s" "$keyauthorization" | _digest "sha256" "hex")"
|
acmevalidationv1="$(printf "%s" "$keyauthorization" | _digest "sha256" "hex")"
|
||||||
_debug acmevalidationv1 "$acmevalidationv1"
|
_debug acmevalidationv1 "$acmevalidationv1"
|
||||||
if ! _starttlsserver "$d" "" "$Le_TLSPort" "$keyauthorization" "$_ncaddr" "$acmevalidationv1"; then
|
if ! _starttlsserver "$d" "" "$Le_TLSPort" "$keyauthorization" "$_ncaddr" "$acmevalidationv1"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user