From f25f45b67ec5fc211f52cf7495b6d986d02574f0 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 27 Dec 2018 21:21:06 -0500 Subject: [PATCH] fix: drop dhparam key size to 2048 4096 takes so long on a very fast machine - 32 core, 64 gb droplet - that most users will begin to believe that it will never complete. --- plugins/nginx-vhosts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/install b/plugins/nginx-vhosts/install index 348f4e813..4cb51cb22 100755 --- a/plugins/nginx-vhosts/install +++ b/plugins/nginx-vhosts/install @@ -30,7 +30,7 @@ chmod 0440 /etc/sudoers.d/dokku-nginx # if dhparam.pem has not been created, create it the first time if [[ ! -f /etc/nginx/dhparam.pem ]]; then - openssl dhparam -out /etc/nginx/dhparam.pem 4096 + openssl dhparam -out /etc/nginx/dhparam.pem 2048 chown root:root /etc/nginx/dhparam.pem fi