From c3fe2d5214607184c6c6b82b316f89475eb1f472 Mon Sep 17 00:00:00 2001 From: Damir Mitrovic Date: Mon, 18 Nov 2019 17:54:35 +1000 Subject: [PATCH] Fixes 374 --- getssl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getssl b/getssl index 3fedb65..e346cc1 100755 --- a/getssl +++ b/getssl @@ -1410,9 +1410,9 @@ send_signed_request() { # Sends a request to the ACME server, signed with your p loop_limit=5 while [[ "$code" -eq 500 ]]; do if [[ "$needbase64" ]] ; then - response=$($CURL -X POST --data "$body" "$url" | urlbase64) + response=$($CURL -X POST -H "Content-Type: application/jose+json" --data "$body" "$url" | urlbase64) else - response=$($CURL -X POST --data "$body" "$url") + response=$($CURL -X POST -H "Content-Type: application/jose+json" --data "$body" "$url") fi responseHeaders=$(cat "$CURL_HEADER")