From d0191c09d86ca8ec03c23589f3850dfccbfc7a4d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 6 Jan 2022 13:39:51 -0700 Subject: [PATCH] Update letsencrypt.sh --- ubuntu/resources/letsencrypt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/resources/letsencrypt.sh b/ubuntu/resources/letsencrypt.sh index 1709c13..841fe81 100755 --- a/ubuntu/resources/letsencrypt.sh +++ b/ubuntu/resources/letsencrypt.sh @@ -79,10 +79,10 @@ fi #request the certificates if [ .$wilcard_domain = ."true" ]; then - dehydrated --cron --domain *.$domain_name --preferred-chain "ISRG Root X1" --alias $domain_alias --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge dns-01 --hook /etc/dehydrated/hook.sh + dehydrated --cron --domain *.$domain_name --preferred-chain "ISRG Root X1" --algo rsa --alias $domain_alias --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge dns-01 --hook /etc/dehydrated/hook.sh fi if [ .$wilcard_domain = ."false" ]; then - dehydrated --cron --preferred-chain "ISRG Root X1" --alias $domain_alias --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01 + dehydrated --cron --preferred-chain "ISRG Root X1" --algo rsa --alias $domain_alias --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01 fi #make sure the nginx ssl directory exists