From 686cdb9c5c57ce91596d740ce7441baa09212b98 Mon Sep 17 00:00:00 2001 From: Pavel Muhortov Date: Sat, 16 Dec 2023 23:03:49 +0300 Subject: [PATCH] fixed "Domain name contains an invalid character" --- zimbra-man.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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