From f9fa04fa1b9dc146326664ff4955e387dd11e8b6 Mon Sep 17 00:00:00 2001 From: Pavel Muhortov Date: Fri, 2 Jun 2023 08:35:55 +0300 Subject: [PATCH] specified key-type --- README.md | 2 +- zimbra-man.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f16e9bb..1a353e4 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ certfirst=mail.domain.zone sudo su - zimbra -c "/opt/zimbra/bin/zmcontrol stop" # add additional hostnames, issue certificate and download chain -sudo certbot certonly --standalone --email mail@domain.zone --preferred-chain "ISRG Root X1" -d "${certfirst}" -d smtp.domain.zone -d pop3.domain.zone -d imap.domain.zone +sudo certbot certonly --standalone --email mail@domain.zone --preferred-chain "ISRG Root X1" --key-type rsa --rsa-key-size 2048 -d "${certfirst}" -d smtp.domain.zone -d pop3.domain.zone -d imap.domain.zone sudo sh -c "wget -O - https://letsencrypt.org/certs/isrgrootx1.pem.txt --no-check-certificate >> /etc/letsencrypt/live/${certfirst}/chain.pem" # start zimbra diff --git a/zimbra-man.sh b/zimbra-man.sh index 456a9ad..5ea0f26 100644 --- a/zimbra-man.sh +++ b/zimbra-man.sh @@ -180,7 +180,7 @@ certrenew() { certarray+=" -d ${domain}" done fi - certbot certonly --standalone --email "${certemail}" --preferred-chain "ISRG Root X1" "${certarray}" + certbot certonly --standalone --email "${certemail}" --key-type rsa --rsa-key-size 2048 --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"