Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
c5eea2e7
Unverified
Commit
c5eea2e7
authored
Aug 18, 2020
by
neil
Committed by
GitHub
Aug 18, 2020
Browse files
Merge pull request #3113 from acmesh-official/dev
sync
parents
4adb5255
19555a98
Changes
3
Show whitespace changes
Inline
Side-by-side
.travis.yml
View file @
c5eea2e7
...
@@ -10,7 +10,7 @@ services:
...
@@ -10,7 +10,7 @@ services:
env
:
env
:
global
:
global
:
-
SHFMT_URL=https://github.com/mvdan/sh/releases/download/v
0.4.0
/shfmt_v
0.4.0
_linux_amd64
-
SHFMT_URL=https://github.com/mvdan/sh/releases/download/v
3.1.2
/shfmt_v
3.1.2
_linux_amd64
install
:
install
:
...
...
README.md
View file @
c5eea2e7
...
@@ -15,7 +15,6 @@ acme.sh is being sponsored by the following tool; please help to support us by t
...
@@ -15,7 +15,6 @@ acme.sh is being sponsored by the following tool; please help to support us by t
-
Support ACME v2 wildcard certs
-
Support ACME v2 wildcard certs
-
Simple, powerful and very easy to use. You only need 3 minutes to learn it.
-
Simple, powerful and very easy to use. You only need 3 minutes to learn it.
-
Bash, dash and sh compatible.
-
Bash, dash and sh compatible.
-
Simplest shell script for Let's Encrypt free certificate client.
-
Purely written in Shell with no dependencies on python or the official Let's Encrypt client.
-
Purely written in Shell with no dependencies on python or the official Let's Encrypt client.
-
Just one script to issue, renew and install your certificates automatically.
-
Just one script to issue, renew and install your certificates automatically.
-
DOES NOT require
`root/sudoer`
access.
-
DOES NOT require
`root/sudoer`
access.
...
...
acme.sh
View file @
c5eea2e7
...
@@ -2086,7 +2086,7 @@ _send_signed_request() {
...
@@ -2086,7 +2086,7 @@ _send_signed_request() {
_debug2 original
"
$response
"
_debug2 original
"
$response
"
if
echo
"
$responseHeaders
"
|
grep
-i
"Content-Type: *application/json"
>
/dev/null 2>&1
;
then
if
echo
"
$responseHeaders
"
|
grep
-i
"Content-Type: *application/json"
>
/dev/null 2>&1
;
then
response
=
"
$(
echo
"
$response
"
| _normalizeJson
)
"
response
=
"
$(
echo
"
$response
"
| _normalizeJson
| _json_decode
)
"
fi
fi
_debug2 response
"
$response
"
_debug2 response
"
$response
"
...
@@ -2503,6 +2503,7 @@ _initAPI() {
...
@@ -2503,6 +2503,7 @@ _initAPI() {
_err
"Can not init api."
_err
"Can not init api."
return
1
return
1
fi
fi
response
=
$(
echo
"
$response
"
| _json_decode
)
_debug2
"response"
"
$response
"
_debug2
"response"
"
$response
"
ACME_KEY_CHANGE
=
$(
echo
"
$response
"
| _egrep_o
'key-change" *: *"[^"]*"'
|
cut
-d
'"'
-f
3
)
ACME_KEY_CHANGE
=
$(
echo
"
$response
"
| _egrep_o
'key-change" *: *"[^"]*"'
|
cut
-d
'"'
-f
3
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment