Setup HTTPS / TLS

General discussion about the media server. Feature requests. Hints, tips and tricks.
_SirO_
Posts: 1
Joined: Fri Sep 11, 2015 9:26 pm
AV Hardware: Synology DS 212j (kirkwood)

Setup HTTPS / TLS

Postby _SirO_ » Fri Sep 11, 2015 9:30 pm

Hello,

I'm struggling to configure HTTPS support for my twonky server. I want it to be available over the internet, but I can't do it over regular HTTP.

I've found a "enabletls" configuration key, and a warning message

"No TLS-server certificate found in /var/twonky/twonkyserver/tls_server.pem! Will use built-in keys (this is insecure)! You have been warned ..."

but i do not know exactly what to put on that path.

I have the private key, the certificate and the intermediate certificate but don't know where to put them.

Thank you

Twonky server version: 8.2.1

geppi
Posts: 1
Joined: Fri Mar 10, 2017 9:56 am
AV Hardware: various

Re: Setup HTTPS / TLS

Postby geppi » Fri Mar 10, 2017 10:06 am

Same problem with 8.4-2

A HOWTO would be really helpful.

I'm struggling with questions like:

1. Where to put the “tls_server.pem” file ?

2. Which access rights does it need to have.
Since I assume that it will contain the private key of the server it should for sure not be world readable.

3. How does the tls_server.pem file need to look like ?
My idea would be to put the base64 encoded private key block at the beginning, enclosed by
“-----BEGIN RSA PRIVATE KEY-----“ and “-----END RSA PRIVATE KEY-----“
followed by the base64 encoded self signed certificate enclosed by
“-----BEGIN CERTIFICATE-----“ and “-----END CERTIFICATE-----“.

4. How to debug the TLS setup ?


Return to “TwonkyServer”

Who is online

Users browsing this forum: Bing [Bot], Rdube123 and 2 guests