• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Jellyfin can't access SSL certificate

     
    • 0 Vote(s) - 0 Average

    Jellyfin can't access SSL certificate

    sebbyd05
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #1
    2023-09-20, 01:46 PM
    Hi there, I run jellyfin on an Ubuntu server and am struggling to get SSL set up. When I try to provide it with the directory for the certificate (made using certbot and found at /etc/letsencrypt/live/mydomain.whatever) it says it isn't found. I'm guessing that it has something to do with permissions, but am very lost as I am worried that if I chown the folder to jellyfin nginx might not be able to access it. How should I fix it? Thanks!

    -Sebastian
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-09-20, 02:01 PM
    Is Nginx serving as your reverse proxy? Jellyfin shouldn't need access to the cert if it is.

    Can you describe your setup?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    sebbyd05
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #3
    2023-09-21, 04:04 AM
    Oh I see, I have Jellyfin running on Ubuntu 22.04.3. I used the basic nginx config, but when I go to the domain it redirects me to subdomain.domain.com/web and gives me a 502 error. I assumed it was because I needed to enable SSL in the settings panel and that asked for the certificate. If that doesn't need to be turned on then do you have any other ideas as to what could be causing my issue? If it helps to know I'm using Cloudflare as my DNS provider but turning off the proxy doesn't seem to fix anything.

    Thanks!
    Jerky
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2023 Sep
    Reputation: 0
    #4
    2023-09-21, 04:20 AM
    It sounds like nginx isn't set up correctly.

    Off the top of my head...
    Do you have jellyfin working on the LAN without ssl?

    You really want to make sure SSL is enabled on the WAN. What do the nginx logs show as the error? The certbot certs permissions are probably fine. We need to dig into nginx.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-09-21, 12:32 PM
    Can you share your nginx config with us? You can sanitize your domain, but leave a placeholder so we know what was there.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    sebbyd05
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #6
    2023-09-21, 01:43 PM
    Ok, here's my nginx log: https://pastebin.com/pSh07J3a
    Here's my config file: https://pastebin.com/NqzezwiF

    I can access the http version of the site using my public IP on wan and lan.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2023-09-21, 03:06 PM
    What are the contents of /etc/resolv.conf?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    sebbyd05
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #8
    2023-09-21, 04:15 PM
    (2023-09-21, 03:06 PM)TheDreadPirate Wrote: What are the contents of /etc/resolv.conf?

    https://pastebin.com/kNiWzvga
    Jerky
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2023 Sep
    Reputation: 0
    #9
    2023-09-21, 05:27 PM (This post was last modified: 2023-09-21, 06:01 PM by Jerky. Edited 5 times in total.)
    I think you need to add to host file:
    IP_OF_HOST_INTERFACE DOMAIN_NAME_FROM_DDNS_PROVIDER
    eg: 999.999.999.999 some.domain.tld
    And looking at your nginx log it looks like you need to change the line about DNS to your gateway, or specify another provider. Your DNS lookup is failing with nginx. Line 23 of your paste in nginx.conf
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode