• 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 General Questions Auto reload the cert (pkcs12) file without restarting the server

     
    • 0 Vote(s) - 0 Average

    Auto reload the cert (pkcs12) file without restarting the server

    sandbo
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    Country:Japan
    #1
    2024-01-08, 02:20 PM
    I am running Certbot to obtain a certificate for my server, however the cert is expiring every 3 months and must be renewed.
    While the renewal is done automatically, the new pkcs12 file isn't loaded by Jellyfin server automatically and I had to manually reboot the server.

    Is there a way to reload the cert without rebooting the server?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-08, 08:26 PM
    What is loading your cert? Jellyfin directly or a reverse proxy? With a reverse proxy you should just need to reload the proxy.

    sudo systemctl reload nginx

    for example.
    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]
    Bigbidder
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    #3
    2024-09-21, 09:44 PM (This post was last modified: 2024-09-21, 09:49 PM by Bigbidder. Edited 1 time in total. Edit Reason: corrections )
    Hello,

    I too would like to know if there is a way to soft reload the certificate for Jellyfin's builtin http server.

    Troubleshooting streaming live TV to Internet playing in browser, I experience web socket timeouts and errors like - HLS Error: Type: mediaError Details: bufferStalledError Fatal: false

    Current setup is Nginx proxy for internal network and Jellyfin https to service HA Proxy for Internet facing. 
    Nginx for local network has zero issues.
    Nginx + HA Proxy for Internet facing gives stream errors after a few minutes.
    Jellyfin Https + HA Proxy for Internet facing seems to be stable.

    Tuning Nginx timeouts for websocket doesn't seem to change anything.
    - proxy_read_timeout 3000s;
    - proxy_send_timeout 3000s;
    - proxy_connect_timeout 7s;

    Every few minutes I consistently receive errors;
    POST https://jellyfin.mydomain.com/LiveStreams/MediaInfo net::ERR_ABORTED 404 (Not Found)

    A soft and quick reload of Jellyfin's Http server would be great as restarting the service isn't fast enough for the browser's buffer size.


    ______________________________________________________________________________________________________________________________________
    Jellyfin 10.9.11
    Ubuntu 22.04 VM on KVM
    8GB DDR4 / 2 vCPU 2.6GHz
    OS on NVMe
    Storage via NFS
    Nginx Https proxy
    HA Proxy to Internet
    Transcoding via Quadro P2000
    RamFS for transcodes
    Letsencrypt with post pxf export for Jellyfin Http
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-22, 12:20 AM (This post was last modified: 2024-09-22, 12:20 AM by TheDreadPirate.)
    So you're using https for clients connecting to the proxy? But also between the proxy and jellyfin? Is the proxy on a different network?

    Also, no. There is not way to reload the cert without restarting Jellyfin.
    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]
    Bigbidder
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    #5
    2024-09-22, 09:10 PM
    Yes, originally on the Jellyfin VM Nginx for https. And, HAproxy to handle Internet requests. A little light reading today suggests HAproxy and Http2 in Nginx might not be playing nice. Will have to test.
    « 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