|
@@ -1,7 +1,7 @@
|
|
|
|
|
|
|
|
|
-
|
|
|
-DHPARAM_BITS=${1:-2048}
|
|
|
+
|
|
|
+DHPARAM_BITS=${1:-4096}
|
|
|
GENERATE_DHPARAM=${2:-true}
|
|
|
|
|
|
|
|
@@ -43,7 +43,7 @@ touch $GEN_LOCKFILE
|
|
|
|
|
|
(
|
|
|
(
|
|
|
- nice -n +5 openssl dhparam -out $DHPARAM_FILE.tmp $DHPARAM_BITS 2>&1 \
|
|
|
+ nice -n +5 openssl dhparam -dsaparam -out $DHPARAM_FILE.tmp $DHPARAM_BITS 2>&1 \
|
|
|
&& mv $DHPARAM_FILE.tmp $DHPARAM_FILE \
|
|
|
&& echo "dhparam generation complete, reloading nginx" \
|
|
|
&& nginx -s reload
|