fixed "Domain name contains an invalid character"

This commit is contained in:
Pavel Muhortov 2023-12-16 23:03:49 +03:00
parent d48accac05
commit 686cdb9c5c

View File

@ -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