Browse Source
Merge pull request #6800 from pgerber/ipv6-debug
Fix IPv6 URL when trying to fetch challenge ourselves for debugging
pull/6811/head
neil
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
1 deletions
-
acme.sh
|
|
|
@ -5181,7 +5181,12 @@ $_authorizations_map" |
|
|
|
if [ "$DEBUG" ]; then |
|
|
|
if [ "$vtype" = "$VTYPE_HTTP" ]; then |
|
|
|
_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 |
|
|
|
_clearupwebbroot "$_currentRoot" "$removelevel" "$token" |
|
|
|
|