Jellyfin Forum
HTTPS - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: HTTPS (/t-https)



HTTPS - Howski - 2024-03-03

Hi Guys,

Sorry to be a pain but I'm struggling to get HTTPS working and I was hoping for a little help.

I have an ASUS router that has DDNS and lets encrypt as part of its OS, which is also what I use to portforward to my server running Jellyfin. I have hooked this all up correctly and its working with Calibre - which serves it's on website via HTTPS now.

When I downloaded the cert from the router it gives me to files - the cert and the key. I've linked the cert file in to the settings as per below and pasted the but between the comments (I assume the key in plain text) from the key file.

I've then saved and reset Jellyfin. When trying to connect to the HTTPS port I get connection reset and when I brosee to the non-https I get (no suprise) a non-https connection. I'm a little confused about what I'm missing here?


   


RE: HTTPS - TheDreadPirate - 2024-03-04

The certificate password is not the contents of the key. When you created the file or saved it you may have been prompted to create a password to protect the key. If not, just leave the password field blank. I'm assuming you never typed in a password when you set it up in Calibre.


RE: HTTPS - Howski - 2024-03-04

Hi,

Firstly thanks for taking the time to reply

Looking with fresh eyes it seems I linked to the cert.perm file but your asking for a PKCS #12 file - I'm not sure what this is or how to get it as all I got from my router were the cert and key files. Could you please help me get that file?


RE: HTTPS - TheDreadPirate - 2024-03-04

The pem file is the correct one.


RE: HTTPS - Howski - 2024-03-04

Hmmm .......... ok if thats the case I'm not sure whats up as I removed the key as you suggested and it didn't work - any idea?


RE: HTTPS - TheDreadPirate - 2024-03-05

Honestly, we generally don't recommend running https directly in Jellyfin and to use a reverse proxy like Caddy or Nginx instead. They are more secure and can integrate into certbot to automatically generate and renew certs.