This commit is contained in:
neil 2016-07-02 13:21:22 +08:00
parent d8d10bc478
commit 58f41a194a

View File

@ -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."