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
|
fi
|
||||||
certbot certonly --standalone --email "${certemail}" \
|
certbot certonly --standalone --email "${certemail}" \
|
||||||
--key-type rsa --rsa-key-size 2048 \
|
--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 \
|
wget -O - https://letsencrypt.org/certs/isrgrootx1.pem.txt \
|
||||||
--no-check-certificate >> "/etc/letsencrypt/live/${certfirst}/chain.pem"
|
--no-check-certificate >> "/etc/letsencrypt/live/${certfirst}/chain.pem"
|
||||||
su - zimbra -c "/opt/zimbra/bin/zmcontrol start"
|
su - zimbra -c "/opt/zimbra/bin/zmcontrol start"
|
||||||
|
@ -262,6 +262,7 @@ fi
|
||||||
# MAIN:
|
# MAIN:
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
if checkroot; then
|
if checkroot; then
|
||||||
|
|
||||||
if [ "${does}" = "ssl" ]; then
|
if [ "${does}" = "ssl" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user