Add dh params size

This commit is contained in:
2026-01-01 21:02:12 +01:00
parent 9e8290b7df
commit 33754a20fc

View File

@@ -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