https streaming diffie hellman parameters generated for each new connection.
Posted: 25 Nov 2023 17:04
I use telnet interface with https access and signed certificates.
setup channel output #http{access=https,dst=:5004/stream.ts}
...
control channel play
Every time I play the channel, Diffie Hellman (2048) parameters are generated.
control channel stop -> control channel play: new Diffie Hellman (2048) parameters are generated.
This is what I see in the log with verbosity 3:
[b27020d8] gnutls tls server debug: generating Diffie-Hellman 2048-bits parameters...
[b27020d8] gnutls tls server debug: ciphers parameters loaded
[b27020d8] main tls server debug: using tls server module "gnutls"
Sometimes is very fast, sometimes takes "a lot" of time.
My problem is that a lot of https clients have a timeout of 5 seconds for establishing the tcp connection.
If the vlc htts server takes more than 5 seconds to generate the DH parameters, the client can't see the channel.
So, my question is: is it possible to set the vlc https server to use pre-built DF-2048 parameters? without generating it at each play?
Any idea/comments are much appreciated
setup channel output #http{access=https,dst=:5004/stream.ts}
...
control channel play
Every time I play the channel, Diffie Hellman (2048) parameters are generated.
control channel stop -> control channel play: new Diffie Hellman (2048) parameters are generated.
This is what I see in the log with verbosity 3:
[b27020d8] gnutls tls server debug: generating Diffie-Hellman 2048-bits parameters...
[b27020d8] gnutls tls server debug: ciphers parameters loaded
[b27020d8] main tls server debug: using tls server module "gnutls"
Sometimes is very fast, sometimes takes "a lot" of time.
My problem is that a lot of https clients have a timeout of 5 seconds for establishing the tcp connection.
If the vlc htts server takes more than 5 seconds to generate the DH parameters, the client can't see the channel.
So, my question is: is it possible to set the vlc https server to use pre-built DF-2048 parameters? without generating it at each play?
Any idea/comments are much appreciated