coturn / coturn

coturn TURN server project
Other
11.42k stars 2.03k forks source link

Bad configuration format: dh2066 #550

Closed DorianScholz closed 2 years ago

DorianScholz commented 4 years ago

Looks like the example config file has not been updated to reflect "dh2066" now being the standard.

misi commented 4 years ago

Many thanks!

Neustradamus commented 4 years ago

@misi: It is solved now?

OmlineEditor commented 4 years ago

why size 2066 is used and not 2048? has always been the standard in other industries 2048.

lonesomewalker commented 2 years ago

Debian Bullseye still giving Bad configuration format: dh2066

bloodhunterd commented 2 years ago

I cannot confirm that after removing the entry from the configuration file, the error still appears under Debian 11 (bullseye).

OmlineEditor commented 2 years ago

I cannot confirm that after removing the entry from the configuration file, the error still appears under Debian 11 (bullseye).

show me what you changed and what mistake you have?

I do this, generate keys Diffie–Hellman: openssl dhparam -out /var/lib/turn/dh-2048.pem 2048

inside the configuration file /etc/turnserver.conf I have it written like this dh-file=/var/lib/turn/dh-2048.pem

Neustradamus commented 2 years ago

@ggarber: Can you look?

eakraly commented 2 years ago

Thanks @lonesomewalker and @bloodhunterd --dh2066 is a non-existent configuration so it is expected to get an error.