mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-17 04:17:00 +02:00
be more verbose for acme v2 challenge handling
This commit is contained in:
@@ -640,6 +640,7 @@ sign_csr() {
|
|||||||
echo " + Requesting challenge for ${altname}..."
|
echo " + Requesting challenge for ${altname}..."
|
||||||
response="$(signed_request "${CA_NEW_AUTHZ}" '{"resource": "new-authz", "identifier": {"type": "dns", "value": "'"${altname}"'"}}' | clean_json)"
|
response="$(signed_request "${CA_NEW_AUTHZ}" '{"resource": "new-authz", "identifier": {"type": "dns", "value": "'"${altname}"'"}}' | clean_json)"
|
||||||
else
|
else
|
||||||
|
echo " + Handling challenge for ${altname}..."
|
||||||
uris="$(<<<"${authorization[${idy}]}" _sed -e 's/\"(.*)".*/\1/')"
|
uris="$(<<<"${authorization[${idy}]}" _sed -e 's/\"(.*)".*/\1/')"
|
||||||
response="$(http_request get "${uris}" | clean_json)"
|
response="$(http_request get "${uris}" | clean_json)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user