diff --git a/freebsd/resources/letsencrypt.sh b/freebsd/resources/letsencrypt.sh index 25c6fce..66908c0 100755 --- a/freebsd/resources/letsencrypt.sh +++ b/freebsd/resources/letsencrypt.sh @@ -78,10 +78,10 @@ fi #request the certificates if [ .$wilcard_domain = ."true" ]; then - dehydrated --cron --domain *.$domain_name --alias $domain_alias --preferred-chain "ISRG Root X1" --config /usr/local/etc/dehydrated/config --out /usr/local/etc/dehydrated/certs --challenge dns-01 --hook /usr/local/etc/dehydrated/hook.sh + dehydrated --cron --domain *.$domain_name --alias $domain_alias --preferred-chain "ISRG Root X1" --algo rsa --config /usr/local/etc/dehydrated/config --out /usr/local/etc/dehydrated/certs --challenge dns-01 --hook /usr/local/etc/dehydrated/hook.sh fi if [ .$wilcard_domain = ."false" ]; then - dehydrated --cron --alias $domain_alias --preferred-chain "ISRG Root X1" --config /usr/local/etc/dehydrated/config --out /usr/local/etc/dehydrated/certs --challenge http-01 + dehydrated --cron --alias $domain_alias --preferred-chain "ISRG Root X1" --algo rsa --config /usr/local/etc/dehydrated/config --out /usr/local/etc/dehydrated/certs --challenge http-01 fi #remove the old backups