File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 293293# 2024-03-26 Test for "true" in wildcard property of authorization responses
294294# 2024-10-16 Add newlines to /directory response (#765)(#859)
295295# 2025-06-18 Support profiles
296+ # 2025-07-28 Accept lowercase replay-nonce headers (#884)
296297# ----------------------------------------------------------------------------------------
297298
298299case :$SHELLOPTS : in
@@ -2721,9 +2722,9 @@ send_signed_request() { # Sends a request to the ACME server, signed with your p
27212722 # get nonce from ACME server
27222723 if [[ $API -eq 1 ]]; then
27232724 nonceurl=" $CA /directory"
2724- nonce=$( $CURL -I " $nonceurl " | grep " ^Replay-Nonce:" | awk ' {print $2}' | tr -d ' \r\n ' )
2725+ nonce=$( $CURL -I " $nonceurl " | grep -i " ^Replay-Nonce:" | awk ' {print $2}' | tr -d ' \r\n ' )
27252726 else # APIv2
2726- nonce=$( $CURL -I " $URL_newNonce " | grep " ^Replay-Nonce:" | awk ' {print $2}' | tr -d ' \r\n ' )
2727+ nonce=$( $CURL -I " $URL_newNonce " | grep -i " ^Replay-Nonce:" | awk ' {print $2}' | tr -d ' \r\n ' )
27272728 fi
27282729
27292730 nonceproblem=" true"
You can’t perform that action at this time.
0 commit comments