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
36a7a840
Commit
36a7a840
authored
Mar 18, 2018
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/1411
parent
7e0b334b
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
36a7a840
...
@@ -4116,7 +4116,7 @@ $_authorizations_map"
...
@@ -4116,7 +4116,7 @@ $_authorizations_map"
return
1
return
1
fi
fi
_rcert
=
"
$response
"
_rcert
=
"
$response
"
Le_LinkCert="$(grep -i '^Location.*$' "$HTTP_HEADER" | _
head
_n 1 | tr -d "\r\n" | cut -d " " -f 2)"
Le_LinkCert
=
"
$(
grep
-i
'^Location.*$'
"
$HTTP_HEADER
"
| _
tail
_n 1 |
tr
-d
"
\r\n
"
|
cut
-d
" "
-f
2
)
"
echo
"
$BEGIN_CERT
"
>
"
$CERT_PATH
"
echo
"
$BEGIN_CERT
"
>
"
$CERT_PATH
"
#if ! _get "$Le_LinkCert" | _base64 "multiline" >> "$CERT_PATH" ; then
#if ! _get "$Le_LinkCert" | _base64 "multiline" >> "$CERT_PATH" ; then
...
...
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