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
72775c5a
Commit
72775c5a
authored
Dec 26, 2015
by
neil
Browse files
fix issue
parent
78435721
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
72775c5a
...
...
@@ -233,18 +233,13 @@ _initpath() {
mkdir
-p
$WORKING_DIR
/
$domain
if
[
-z
"
$CSR_PATH
"
]
;
then
CSR_PATH
=
$WORKING_DIR
/
$domain
/
$domain
.csr
fi
if
[
-z
"
$CERT_KEY_PATH
"
]
;
then
CERT_KEY_PATH
=
$WORKING_DIR
/
$domain
/
$domain
.key
fi
if
[
-z
"
$CERT_PATH
"
]
;
then
CERT_PATH
=
$WORKING_DIR
/
$domain
/
$domain
.cer
fi
CSR_PATH
=
$WORKING_DIR
/
$domain
/
$domain
.csr
CERT_KEY_PATH
=
$WORKING_DIR
/
$domain
/
$domain
.key
CERT_PATH
=
$WORKING_DIR
/
$domain
/
$domain
.cer
}
#issue webroot a.com [www.a.com,b.com,c.com] [key-length] [cert-file-path] [key-file-path] [reloadCmd]
...
...
@@ -277,7 +272,7 @@ issue() {
echo
Usage:
$0
webroot a.com
[
b.com,c.com]
[
key-length]
return
1
fi
createAccountKey
$Le_Domain
$Le_Keylength
createDomainKey
$Le_Domain
$Le_Keylength
...
...
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