mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 23:11:44 +00:00
minor
This commit is contained in:
parent
d8d10bc478
commit
58f41a194a
8
acme.sh
8
acme.sh
@ -1395,6 +1395,10 @@ issue() {
|
|||||||
_info "Skip register account key"
|
_info "Skip register account key"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$Le_Keylength" = "no" ] ; then
|
||||||
|
Le_Keylength=""
|
||||||
|
fi
|
||||||
|
|
||||||
_key=$(_readdomainconf Le_Keylength)
|
_key=$(_readdomainconf Le_Keylength)
|
||||||
_debug "Read key length:$_key"
|
_debug "Read key length:$_key"
|
||||||
if [ ! -f "$CERT_KEY_PATH" ] || [ "$Le_Keylength" != "$_key" ] ; then
|
if [ ! -f "$CERT_KEY_PATH" ] || [ "$Le_Keylength" != "$_key" ] ; then
|
||||||
@ -1406,9 +1410,7 @@ issue() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
_savedomainconf "Le_Keylength" "$Le_Keylength"
|
_savedomainconf "Le_Keylength" "$Le_Keylength"
|
||||||
if [ "$Le_Keylength" = "no" ] ; then
|
|
||||||
Le_Keylength=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! createCSR $Le_Domain $Le_Alt ; then
|
if ! createCSR $Le_Domain $Le_Alt ; then
|
||||||
_err "Create CSR error."
|
_err "Create CSR error."
|
||||||
|
Loading…
Reference in New Issue
Block a user