From d8d10bc4786bfd3769f15cbc533f9c4e5276e4e8 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 2 Jul 2016 13:13:41 +0800 Subject: [PATCH] opps --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 5c5886a9..70bf2d89 100755 --- a/acme.sh +++ b/acme.sh @@ -1397,7 +1397,7 @@ issue() { _key=$(_readdomainconf Le_Keylength) _debug "Read key length:$_key" - if [ "$Le_Keylength" != "$_key" ] ; then + if [ ! -f "$CERT_KEY_PATH" ] || [ "$Le_Keylength" != "$_key" ] ; then if ! createDomainKey $Le_Domain $Le_Keylength ; then _err "Create domain key error." _clearup