|
182 | 182 | # 2017-01-21 issue #231 mingw bugfix and typos in debug messages (2.06)
|
183 | 183 | # 2017-01-29 issue #232 use neutral locale for date formatting (2.07)
|
184 | 184 | # 2017-01-30 issue #243 compatibility with bash 3.0 (2.08)
|
| 185 | +# 2017-01-30 issue #243 additional compatibility with bash 3.0 (2.09) |
185 | 186 | # ----------------------------------------------------------------------------------------
|
186 | 187 |
|
187 | 188 | PROGNAME=${0##*/}
|
188 |
| -VERSION="2.08" |
| 189 | +VERSION="2.09" |
189 | 190 |
|
190 | 191 | # defaults
|
191 | 192 | ACCOUNT_KEY_LENGTH=4096
|
@@ -1155,9 +1156,9 @@ send_signed_request() { # Sends a request to the ACME server, signed with your p
|
1155 | 1156 |
|
1156 | 1157 | # Send header + extended header + payload + signature to the acme-server
|
1157 | 1158 | body="{\"header\": ${header},"
|
1158 |
| - body+="\"protected\": \"${protected64}\"," |
1159 |
| - body+="\"payload\": \"${payload64}\"," |
1160 |
| - body+="\"signature\": \"${signed64}\"}" |
| 1159 | + body="${body}\"protected\": \"${protected64}\"," |
| 1160 | + body="${body}\"payload\": \"${payload64}\"," |
| 1161 | + body="${body}\"signature\": \"${signed64}\"}" |
1161 | 1162 | debug "header, payload and signature = $body"
|
1162 | 1163 |
|
1163 | 1164 | code="500"
|
|
1715 | 1716 | # end of .... if there is an existing certificate file, check details.
|
1716 | 1717 |
|
1717 | 1718 | if [[ ! -t 0 ]] && [[ "$PREVENT_NON_INTERACTIVE_RENEWAL" = "true" ]]; then
|
1718 |
| - errmsg="$DOMAIN due for renewal, " |
1719 |
| - errmsg+="but not completed due to PREVENT_NON_INTERACTIVE_RENEWAL=true in config" |
| 1719 | + errmsg="$DOMAIN due for renewal," |
| 1720 | + errmsg="${errmsg} but not completed due to PREVENT_NON_INTERACTIVE_RENEWAL=true in config" |
1720 | 1721 | error_exit "$errmsg"
|
1721 | 1722 | fi
|
1722 | 1723 |
|
|
0 commit comments