Add --preferred-chain ISRG Root X1 to fix Letsencypt working with Yealink, Polycom and other phones.

This commit is contained in:
FusionPBX 2021-12-06 15:32:02 -07:00 committed by GitHub
parent 5fe8186e7f
commit 291b236290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -79,10 +79,10 @@ fi
#request the certificates
if [ .$wildcard_domain = ."true" ]; then
./dehydrated --cron --domain *.$domain_name --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" --alias $domain_alias --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge dns-01 --hook /etc/dehydrated/hook.sh
fi
if [ .$wildcard_domain = ."false" ]; then
./dehydrated --cron --alias $domain_alias --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
./dehydrated --cron --alias $domain_alias --preferred-chain "ISRG Root X1" --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
fi
#make sure the nginx ssl directory exists