mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
fix bug save the real params for renewing.
This commit is contained in:
parent
399306a164
commit
96a46cfcd5
18
le.sh
18
le.sh
@ -854,6 +854,15 @@ issue() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_Domain" "=" "$Le_Domain"
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_Alt" "=" "$Le_Alt"
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_Webroot" "=" "$Le_Webroot"
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_Keylength" "=" "$Le_Keylength"
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_RealCertPath" "=" "\"$Le_RealCertPath\""
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_RealCACertPath" "=" "\"$Le_RealCACertPath\""
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_RealKeyPath" "=" "\"$Le_RealKeyPath\""
|
||||||
|
_setopt "$DOMAIN_CONF" "Le_ReloadCmd" "=" "\"$Le_ReloadCmd\""
|
||||||
|
|
||||||
if [ "$Le_Alt" == "no" ] ; then
|
if [ "$Le_Alt" == "no" ] ; then
|
||||||
Le_Alt=""
|
Le_Alt=""
|
||||||
fi
|
fi
|
||||||
@ -873,14 +882,7 @@ issue() {
|
|||||||
Le_ReloadCmd=""
|
Le_ReloadCmd=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_Domain" "=" "$Le_Domain"
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_Alt" "=" "$Le_Alt"
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_Webroot" "=" "$Le_Webroot"
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_Keylength" "=" "$Le_Keylength"
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_RealCertPath" "=" "\"$Le_RealCertPath\""
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_RealCACertPath" "=" "\"$Le_RealCACertPath\""
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_RealKeyPath" "=" "\"$Le_RealKeyPath\""
|
|
||||||
_setopt "$DOMAIN_CONF" "Le_ReloadCmd" "=" "\"$Le_ReloadCmd\""
|
|
||||||
|
|
||||||
if [ "$Le_Webroot" == "no" ] ; then
|
if [ "$Le_Webroot" == "no" ] ; then
|
||||||
_info "Standalone mode."
|
_info "Standalone mode."
|
||||||
|
Loading…
Reference in New Issue
Block a user