mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-17 11:51:43 +00:00
fix issue
This commit is contained in:
parent
7843572136
commit
72775c5ad9
21
le.sh
21
le.sh
@ -233,18 +233,13 @@ _initpath() {
|
|||||||
|
|
||||||
mkdir -p $WORKING_DIR/$domain
|
mkdir -p $WORKING_DIR/$domain
|
||||||
|
|
||||||
if [ -z "$CSR_PATH" ] ; then
|
|
||||||
CSR_PATH=$WORKING_DIR/$domain/$domain.csr
|
CSR_PATH=$WORKING_DIR/$domain/$domain.csr
|
||||||
fi
|
|
||||||
|
CERT_KEY_PATH=$WORKING_DIR/$domain/$domain.key
|
||||||
if [ -z "$CERT_KEY_PATH" ] ; then
|
|
||||||
CERT_KEY_PATH=$WORKING_DIR/$domain/$domain.key
|
CERT_PATH=$WORKING_DIR/$domain/$domain.cer
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$CERT_PATH" ] ; then
|
|
||||||
CERT_PATH=$WORKING_DIR/$domain/$domain.cer
|
|
||||||
fi
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#issue webroot a.com [www.a.com,b.com,c.com] [key-length] [cert-file-path] [key-file-path] [reloadCmd]
|
#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]
|
echo Usage: $0 webroot a.com [b.com,c.com] [key-length]
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
createAccountKey $Le_Domain $Le_Keylength
|
createAccountKey $Le_Domain $Le_Keylength
|
||||||
|
|
||||||
createDomainKey $Le_Domain $Le_Keylength
|
createDomainKey $Le_Domain $Le_Keylength
|
||||||
|
Loading…
Reference in New Issue
Block a user