Fetching XMLTV guide from SSL-enabled server fails

Hi!

In my setup I have Plex configured to talk to TVHeadEnd via a plexheadend (GitHub - wrboyce/plexheadend: TVHeadend/PlexDVR Proxy) docker container. Everything was working well enough until I decided, as an exercise, to enable SSL all over my internal servers.

The DVR configuration in TVHeadEnd points to a link such as http://someserver/xmltv.xml. However, that link now transparently redirects to https://someserver/xmltv.xml (notice the new “s” in the protocol).

Now Plex won’t download the guide, complaining that there’s a self-signed certificate in the chain (there is):

Mar 25, 2019 18:06:11.811 [0x7f0b80b43700] ERROR - Error issuing curl_easy_perform(handle): 60
Mar 25, 2019 18:06:11.811 [0x7f0b80b43700] WARN - HTTP error requesting GET http://someserver/xmltv.xml (0, No error) (SSL certificate problem: self signed certificate in certificate chain)

Notice how it’s still trying to fetch from the old URL. However, it’s successfully following the redirect from the new URL because it’s finding the SSL certificate that it’s configured with.

So the problem here seems to be twofold:

  1. Plex doesn’t seem to like SSL certificates with self-signed certificates in the chain and I’ve been unable to find a way to turn that off (and I’ve looked!)
  2. (less problematic, but still noteworthy) Plex doesn’t allow me to reconfigure the guide retrieval URL for a configured DVR in the event of a change - one has to tear down that DVR and build it back up again from scratch

So… thoughts? Is certificate trust configurable? If so, where/how? If not, why not? Can this be fixed?

Cheers!

PS/ Yes I could turn SSL off but right now I’m using that for work so I can’t …

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.