|
@ -1809,14 +1809,14 @@ _send_signed_request() { |
|
|
if [ -z "$_CACHED_NONCE" ]; then |
|
|
if [ -z "$_CACHED_NONCE" ]; then |
|
|
_headers="" |
|
|
_headers="" |
|
|
if [ "$ACME_NEW_NONCE" ]; then |
|
|
if [ "$ACME_NEW_NONCE" ]; then |
|
|
_debug2 "Get nonce. ACME_NEW_NONCE" "$ACME_NEW_NONCE" |
|
|
|
|
|
|
|
|
_debug2 "Get nonce with HEAD. ACME_NEW_NONCE" "$ACME_NEW_NONCE" |
|
|
nonceurl="$ACME_NEW_NONCE" |
|
|
nonceurl="$ACME_NEW_NONCE" |
|
|
if _post "" "$nonceurl" "" "HEAD" "$__request_conent_type"; then |
|
|
if _post "" "$nonceurl" "" "HEAD" "$__request_conent_type"; then |
|
|
_headers="$(cat "$HTTP_HEADER")" |
|
|
_headers="$(cat "$HTTP_HEADER")" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
if [ -z "$_headers" ]; then |
|
|
if [ -z "$_headers" ]; then |
|
|
_debug2 "Get nonce. ACME_DIRECTORY" "$ACME_DIRECTORY" |
|
|
|
|
|
|
|
|
_debug2 "Get nonce with GET. ACME_DIRECTORY" "$ACME_DIRECTORY" |
|
|
nonceurl="$ACME_DIRECTORY" |
|
|
nonceurl="$ACME_DIRECTORY" |
|
|
_headers="$(_get "$nonceurl" "onlyheader")" |
|
|
_headers="$(_get "$nonceurl" "onlyheader")" |
|
|
fi |
|
|
fi |
|
|