diff --git a/zimbra-man.sh b/zimbra-man.sh index c900de2..5ffd73e 100644 --- a/zimbra-man.sh +++ b/zimbra-man.sh @@ -174,7 +174,7 @@ certrenew() { fi certbot certonly --standalone --email "${certemail}" \ --key-type rsa --rsa-key-size 2048 \ - --preferred-chain "ISRG Root X1" "${certarray}" + --preferred-chain "ISRG Root X1" ${certarray} wget -O - https://letsencrypt.org/certs/isrgrootx1.pem.txt \ --no-check-certificate >> "/etc/letsencrypt/live/${certfirst}/chain.pem" su - zimbra -c "/opt/zimbra/bin/zmcontrol start" @@ -262,6 +262,7 @@ fi # MAIN: # + if checkroot; then if [ "${does}" = "ssl" ]; then