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
caf1fc10
Commit
caf1fc10
authored
Mar 13, 2016
by
neil
Browse files
add fullchain.pem
parent
06a3d859
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
caf1fc10
...
@@ -439,6 +439,9 @@ _initpath() {
...
@@ -439,6 +439,9 @@ _initpath() {
if
[
-z
"
$CA_CERT_PATH
"
]
;
then
if
[
-z
"
$CA_CERT_PATH
"
]
;
then
CA_CERT_PATH
=
"
$domainhome
/ca.cer"
CA_CERT_PATH
=
"
$domainhome
/ca.cer"
fi
fi
if
[
-z
"
$CERT_FULLCHAIN_PATH
"
]
;
then
CERT_FULLCHAIN_PATH
=
"
$domainhome
/fullchain.pem"
fi
}
}
...
@@ -917,6 +920,7 @@ issue() {
...
@@ -917,6 +920,7 @@ issue() {
cat
"
$CERT_PATH
"
cat
"
$CERT_PATH
"
_info
"Your cert is in
$CERT_PATH
"
_info
"Your cert is in
$CERT_PATH
"
cp
"
$CERT_PATH
"
"
$CERT_FULLCHAIN_PATH
"
fi
fi
...
@@ -936,6 +940,8 @@ issue() {
...
@@ -936,6 +940,8 @@ issue() {
curl
--silent
"
$Le_LinkIssuer
"
| openssl
base64
-e
>>
"
$CA_CERT_PATH
"
curl
--silent
"
$Le_LinkIssuer
"
| openssl
base64
-e
>>
"
$CA_CERT_PATH
"
echo
-----END
CERTIFICATE-----
>>
"
$CA_CERT_PATH
"
echo
-----END
CERTIFICATE-----
>>
"
$CA_CERT_PATH
"
_info
"The intermediate CA cert is in
$CA_CERT_PATH
"
_info
"The intermediate CA cert is in
$CA_CERT_PATH
"
cat
"
$CA_CERT_PATH
"
>>
"
$CERT_FULLCHAIN_PATH
"
_info
"And the full chain certs is there:
$CERT_FULLCHAIN_PATH
"
fi
fi
Le_CertCreateTime
=
$(
date
-u
"+%s"
)
Le_CertCreateTime
=
$(
date
-u
"+%s"
)
...
@@ -1024,6 +1030,7 @@ renewAll() {
...
@@ -1024,6 +1030,7 @@ renewAll() {
CERT_KEY_PATH
=
""
CERT_KEY_PATH
=
""
CERT_PATH
=
""
CERT_PATH
=
""
CA_CERT_PATH
=
""
CA_CERT_PATH
=
""
CERT_FULLCHAIN_PATH
=
""
ACCOUNT_KEY_PATH
=
""
ACCOUNT_KEY_PATH
=
""
wellknown_path
=
""
wellknown_path
=
""
...
...
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