generated from pavel.muhortov/template-bash
fixed "Domain name contains an invalid character"
This commit is contained in:
parent
d48accac05
commit
686cdb9c5c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user