mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update install: tweak dhparam syntax for bookworm compatibility, "-2" doesn't make sense in combination with -dsaparam
This commit is contained in:
parent
afd37f020c
commit
aacdb32c83
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ ynh_script_progression --message="Creating a dhparam file..." --weight=3
|
|||
# Make dhparam cert for Coturn if it doesn't exist
|
||||
if [ ! -e /etc/ssl/private/dh2048.pem ]
|
||||
then
|
||||
ynh_exec_warn_less openssl dhparam -out /etc/ssl/private/dh2048.pem -outform PEM -2 2048 -dsaparam
|
||||
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
|
||||
chmod 640 /etc/ssl/private/dh2048.pem
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue