Add dh params size
This commit is contained in:
@@ -41,7 +41,7 @@ if [ $1 == 1 ]; then
|
|||||||
%{_bindir}/env printf "\nAutomatic certbot renew\n0 12 * * * root sleep $((RANDOM % 3600)) && certbot renew -q\n" >> %{_sysconfdir}/crontab
|
%{_bindir}/env printf "\nAutomatic certbot renew\n0 12 * * * root sleep $((RANDOM % 3600)) && certbot renew -q\n" >> %{_sysconfdir}/crontab
|
||||||
|
|
||||||
# Create ssl dh params
|
# Create ssl dh params
|
||||||
%{_bindir}/env openssl dhparam -out %{_sysconfdir}/letsencrypt/ssl-dhparams.pem
|
%{_bindir}/env openssl dhparam -out %{_sysconfdir}/letsencrypt/ssl-dhparams.pem 2048
|
||||||
|
|
||||||
# Stop nginx to be sure changes are taken in account
|
# Stop nginx to be sure changes are taken in account
|
||||||
%{_bindir}/env systemctl stop nginx
|
%{_bindir}/env systemctl stop nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user