Browse Source

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.
pull/29/head
tombii 9 years ago
parent
commit
5248c51770
  1. 2
      le.sh

2
le.sh

@ -110,7 +110,7 @@ createCSR() {
domainlist=$2 domainlist=$2
if [ -f "$CSR_PATH" ] && [ "$IS_RENEW" ]; then
if [ -f "$CSR_PATH" ] && [ "$IS_RENEW" ] && ! [ "$FORCE" ]; then
_info "CSR exists, skip" _info "CSR exists, skip"
return return
fi fi

Loading…
Cancel
Save