Getting PlexConnect to route through WSJ Video

It used to be that installing PlexConnect as a package on a Synology would let you choose whether to hijack the Trailers app or the WSJ Video app, and then it would just work. Unfortunately, nowadays, choosing WSJ Video doesn’t work; something is clearly wrong in the default settings of the app. Here’s how I went about rectifying that. (The below assumes that you’ve been able to get PlexConnect working before, so it assumes that most of the initial setup, you’re already familiar with.)

Firstly, I generated some SSL certificates, following the advice of this forum post1 and running the following two commands in the Terminal:

openssl req -new -nodes -newkey rsa:2048 -out ~/Desktop/wsj.pem -keyout ~/Desktop/wsj.key -x509 -days 7300 -subj "/C=US/"
openssl x509 -in ~/Desktop/wsj.pem -outform der -out ~/Desktop/wsj.cer && cat ~/Desktop/wsj.key >> ~/Desktop/wsj.pem

Then, I stopped the PlexConnect package from running and SSHed into the DiskStation as root. I copied the Settings file from PlexConnect to the user-facing part of my Synology, by running the following commands:

cp /usr/local/plexconnect/share/PlexConnect/Settings.cfg /volume1/path/to/directory

I put the three files on my Desktop in that same directory, and then edited the Settings.cfg file so the certfile variable was assigned thusly:

certfile = /usr/local/plexconnect/etc/certificates/wsj.pem

Then, I copied the four files to the relevant directories (repeat the last one for the .cer, the .key and .pem files):

cp /volume1/path/to/directory/Settings.cfg /usr/local/plexconnect/share/PlexConnect/
cp /volume1/path/to/directory/PlexConnect/wsj.cer /usr/local/plexconnect/etc/certificates/

Then I started the PlexConnect package again, and everything was working!

  1. For some reason, a similar command given elsewhere gave me errors when I tried to point my Apple TV at it, so I thought it was worth stating explicitly. 

No Comments

Post a Comment