mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update install: reintroduce -dsaparam for dhparam generation, the real issue was that "-2" doesn't make sense
This commit is contained in:
parent
5fac2d1203
commit
8a1036753f
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ ynh_script_progression --message="Creating a dh file..." --weight=3
|
||||||
# Make dh cert for synapse if it doesn't exist
|
# Make dh cert for synapse if it doesn't exist
|
||||||
if [ ! -e /etc/ssl/private/dh2048.pem ]
|
if [ ! -e /etc/ssl/private/dh2048.pem ]
|
||||||
then
|
then
|
||||||
ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -2 2048
|
ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -dsaparam 2048
|
||||||
chown root:ssl-cert /etc/ssl/private/dh2048.pem
|
chown root:ssl-cert /etc/ssl/private/dh2048.pem
|
||||||
chmod 640 /etc/ssl/private/dh2048.pem
|
chmod 640 /etc/ssl/private/dh2048.pem
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue