Merge pull request #6800 from pgerber/ipv6-debug
Fix IPv6 URL when trying to fetch challenge ourselves for debugging
This commit is contained in:
@@ -5181,7 +5181,12 @@ $_authorizations_map"
|
|||||||
if [ "$DEBUG" ]; then
|
if [ "$DEBUG" ]; then
|
||||||
if [ "$vtype" = "$VTYPE_HTTP" ]; then
|
if [ "$vtype" = "$VTYPE_HTTP" ]; then
|
||||||
_debug "Debug: GET token URL."
|
_debug "Debug: GET token URL."
|
||||||
_get "http://$d/.well-known/acme-challenge/$token" "" 1
|
if _isIPv6 "$d"; then
|
||||||
|
host="[$d]"
|
||||||
|
else
|
||||||
|
host="$d"
|
||||||
|
fi
|
||||||
|
_get "http://$host/.well-known/acme-challenge/$token" "" 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
|
||||||
|
|||||||
Reference in New Issue
Block a user