Update letsencrypt.sh add --algo rsa to the dehydrated command. (#380)
* Update letsencrypt.sh
This commit is contained in:
parent
aefc849f9c
commit
3d24b132c7
|
|
@ -79,10 +79,10 @@ fi
|
||||||
|
|
||||||
#request the certificates
|
#request the certificates
|
||||||
if [ .$wildcard_domain = ."true" ]; then
|
if [ .$wildcard_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
|
fi
|
||||||
if [ .$wildcard_domain = ."false" ]; then
|
if [ .$wildcard_domain = ."false" ]; then
|
||||||
./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
|
./dehydrated --cron --alias $domain_alias --preferred-chain "ISRG Root X1" --algo rsa --config /etc/dehydrated/config --config /etc/dehydrated/config --out /etc/dehydrated/certs --challenge http-01
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#make sure the nginx ssl directory exists
|
#make sure the nginx ssl directory exists
|
||||||
|
|
|
||||||
|
|
@ -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 --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
|
fi
|
||||||
if [ .$wilcard_domain = ."false" ]; then
|
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
|
fi
|
||||||
|
|
||||||
#remove the old backups
|
#remove the old backups
|
||||||
|
|
|
||||||
|
|
@ -79,10 +79,10 @@ fi
|
||||||
|
|
||||||
#request the certificates
|
#request the certificates
|
||||||
if [ .$wilcard_domain = ."true" ]; then
|
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
|
fi
|
||||||
if [ .$wilcard_domain = ."false" ]; then
|
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
|
fi
|
||||||
|
|
||||||
#make sure the nginx ssl directory exists
|
#make sure the nginx ssl directory exists
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue