Merge pull request #3354 from dokku/josegonzalez-patch-1
Drop default dhparam key size to 2048
This commit is contained in:
1 file changed
+1
-1
@@ -30,7 +30,7 @@ chmod 0440 /etc/sudoers.d/dokku-nginx
|
|||||||
|
|
||||||
# if dhparam.pem has not been created, create it the first time
|
# if dhparam.pem has not been created, create it the first time
|
||||||
if [[ ! -f /etc/nginx/dhparam.pem ]]; then
|
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
|
chown root:root /etc/nginx/dhparam.pem
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user