Add --preferred-chain ISRG Root X1

This commit is contained in:
FusionPBX
2021-12-30 08:54:57 -07:00
committed by GitHub
parent 56b138366a
commit aefc849f9c

View File

@@ -78,10 +78,10 @@ fi
#request the certificates #request the certificates
if [ .$wilcard_domain = ."true" ]; then if [ .$wilcard_domain = ."true" ]; then
dehydrated --cron --domain *.$domain_name --alias $domain_alias --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" --config /usr/local/etc/dehydrated/config --out /usr/local/etc/dehydrated/certs --challenge dns-01 --hook /usr/local/etc/dehydrated/hook.sh
fi fi
if [ .$wilcard_domain = ."false" ]; then if [ .$wilcard_domain = ."false" ]; then
dehydrated --cron --alias $domain_alias --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" --config /usr/local/etc/dehydrated/config --out /usr/local/etc/dehydrated/certs --challenge http-01
fi fi
#remove the old backups #remove the old backups