YunoHost-Apps / coturn_ynh

coturn TURN server package for YunoHost
https://github.com/coturn/coturn
GNU General Public License v3.0
6 stars 6 forks source link

Impossible to install on Yunohost 12 #21

Open anubister opened 8 months ago

anubister commented 8 months ago

It seems the syntax/options of openssl changed in Debian 12, this command does not work : https://github.com/YunoHost-Apps/coturn_ynh/blob/41e966afbb43336da67ef94c60cc42763cd7e5e5/scripts/install#L26C90-L26C91

# openssl dhparam -outform PEM -out /etc/ssl/private/dh2048.pem -2 2048 -dsaparam
dhparam: Use -help for summary.

Moving the position of the -dsaparam as suggested in the manpage:

# openssl dhparam -outform PEM -out /etc/ssl/private/dh2048.pem -dsaparam -2 2048 
Error, generator may not be chosen for DSA parameters

Possible solution is to remove '-dsaparm', but I'm not sure wether it only make the key generation slower or have other non acceptable consequences.

anubister commented 1 month ago

If it can help this works for me https://github.com/anubister/coturn_ynh i'll try to propose a PR.

anubister commented 1 week ago

Not able to reproduce with coturn 4.5.2.3~ynh8 on Yunohost 12.0.7 🤷 I would do a last check on another system soon and close here if this bug effectively vanished.