Skip to content

Commit 903a539

Browse files
author
neil
committed
fix bugs
1 parent 188aa51 commit 903a539

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

acme.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4470,7 +4470,7 @@ issue() {
44704470
Le_NextRenewTime=$(_readdomainconf Le_NextRenewTime)
44714471
_debug Le_NextRenewTime "$Le_NextRenewTime"
44724472
if [ -z "$FORCE" ] && [ "$Le_NextRenewTime" ] && [ "$(_time)" -lt "$Le_NextRenewTime" ]; then
4473-
_valid_to_saved=$(_readdomainconf Le_Valid_to)
4473+
_valid_to_saved=$(_readdomainconf Le_Valid_To)
44744474
if [ "$_valid_to_saved" ] && ! _startswith "$_valid_to_saved" "+"; then
44754475
_info "The domain is set to be valid to: $_valid_to_saved"
44764476
_info "It cannot be renewed automatically"
@@ -5568,6 +5568,10 @@ renew() {
55685568
Le_RenewHook="$(_readdomainconf Le_RenewHook)"
55695569
Le_Preferred_Chain="$(_readdomainconf Le_Preferred_Chain)"
55705570
Le_Certificate_Profile="$(_readdomainconf Le_Certificate_Profile)"
5571+
Le_Valid_From="$(_readdomainconf Le_Valid_From)"
5572+
Le_Valid_To="$(_readdomainconf Le_Valid_To)"
5573+
Le_ExtKeyUse="$(_readdomainconf Le_ExtKeyUse)"
5574+
55715575
# When renewing from an old version, the empty Le_Keylength means 2048.
55725576
# Note, do not use DEFAULT_DOMAIN_KEY_LENGTH as that value may change over
55735577
# time but an empty value implies 2048 specifically.

0 commit comments

Comments
 (0)