From: tombii Date: Wed, 20 Jan 2016 07:57:57 +0000 (+0800) Subject: Update le.sh X-Git-Tag: 2.8.6~816^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5248c5177098a8a1365ef569119091ae20e6bbb6;p=mirror_acme.sh.git Update le.sh If we regenerate the key by using FORCE=1 then we also need to regenerate the CSR, otherwise the key will not match the certificate. --- diff --git a/le.sh b/le.sh index a230e392..17b22f27 100755 --- a/le.sh +++ b/le.sh @@ -110,7 +110,7 @@ createCSR() { domainlist=$2 - if [ -f "$CSR_PATH" ] && [ "$IS_RENEW" ]; then + if [ -f "$CSR_PATH" ] && [ "$IS_RENEW" ] && ! [ "$FORCE" ]; then _info "CSR exists, skip" return fi