Browse Source

Only select first URL returned from acme-v02

pull/461/head
Ian Driver 6 years ago
parent
commit
bd0e674b12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -2248,7 +2248,7 @@ for d in $alldomains; do
token=$(json_get "$response" "challenges" "type" "http-01" "token")
debug token "$token"
# get the uri from the http component
uri=$(json_get "$response" "challenges" "type" "http-01" "url")
uri=$(json_get "$response" "challenges" "type" "http-01" "url" | head -n1)
debug uri "$uri"
fi


Loading…
Cancel
Save