Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
66f08eb2
Commit
66f08eb2
authored
Aug 22, 2016
by
neil
Browse files
minor format output
parent
933c169d
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
66f08eb2
...
@@ -2010,7 +2010,8 @@ issue() {
...
@@ -2010,7 +2010,8 @@ issue() {
_info
"
$(
__green
"Cert success."
)
"
_info
"
$(
__green
"Cert success."
)
"
cat
"
$CERT_PATH
"
cat
"
$CERT_PATH
"
_info
"Your cert is in
$CERT_PATH
"
_info
"Your cert is in
$(
__green
"
$CERT_PATH
"
)
"
_info
"Your cert key is in
$(
__green
"
$CERT_KEY_PATH
"
)
"
cp
"
$CERT_PATH
"
"
$CERT_FULLCHAIN_PATH
"
cp
"
$CERT_PATH
"
"
$CERT_FULLCHAIN_PATH
"
if
[
!
"
$USER_PATH
"
]
||
[
!
"
$IN_CRON
"
]
;
then
if
[
!
"
$USER_PATH
"
]
||
[
!
"
$IN_CRON
"
]
;
then
...
@@ -2039,9 +2040,9 @@ issue() {
...
@@ -2039,9 +2040,9 @@ issue() {
echo
"
$BEGIN_CERT
"
>
"
$CA_CERT_PATH
"
echo
"
$BEGIN_CERT
"
>
"
$CA_CERT_PATH
"
_get
"
$Le_LinkIssuer
"
| _base64
"multiline"
>>
"
$CA_CERT_PATH
"
_get
"
$Le_LinkIssuer
"
| _base64
"multiline"
>>
"
$CA_CERT_PATH
"
echo
"
$END_CERT
"
>>
"
$CA_CERT_PATH
"
echo
"
$END_CERT
"
>>
"
$CA_CERT_PATH
"
_info
"The intermediate CA cert is in
$CA_CERT_PATH
"
_info
"The intermediate CA cert is in
$(
__green
"
$CA_CERT_PATH
"
)
"
cat
"
$CA_CERT_PATH
"
>>
"
$CERT_FULLCHAIN_PATH
"
cat
"
$CA_CERT_PATH
"
>>
"
$CERT_FULLCHAIN_PATH
"
_info
"And the full chain certs is there:
$CERT_FULLCHAIN_PATH
"
_info
"And the full chain certs is there:
$(
__green
"
$CERT_FULLCHAIN_PATH
"
)
"
fi
fi
Le_CertCreateTime
=
$(
date
-u
"+%s"
)
Le_CertCreateTime
=
$(
date
-u
"+%s"
)
...
...
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