Skip to content

Install Guide Windows Certificates

moodyblue edited this page Nov 22, 2020 · 33 revisions

iPhoneConfigUtil

This guide is used with the permission of Paul Kehrer. See the original [blog here] (http://langui.sh/2013/08/27/appletv-ssl-plexconnect/).

Apple uses both HTTP and HTTPS traffic for the official Trailers application. For PlexConnect to function we must generate and install a certificate on both the AppleTV and the PlexConnect server.

This guide shows only the iPhone Configuration Utility method. To see the Apple Configurator method follow the link to the original blog above.:


Create the Certificate

Download and install [OpenSSL] (http://slproweb.com/products/Win32OpenSSL.html) (choose the WIn64 light version). Then run the following commands in a cmd prompt window. This will work with a default OpenSSL win64 install, but you need to run cmd with administrator privileges (right click run as administrator):

C:\OpenSSL-Win64\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C:\trailers.pem -keyout C:\trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com" -config "C:\Program Files\Common Files\SSL\openssl.cnf"

Next run this:

C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:\trailers.pem -outform der -out C:\trailers.cer

And finally run this (the word “type” is part of the command, paste this entire command into your cmd prompt)

type C:\trailers.key >> C:\trailers.pem

3 files should now be in the root of your C: drive (trailers.pem, trailers.key, and trailers.cer). We’ll be using them shortly.


Add the Certificate to PlexConnect

Place the trailers.pem and trailers.cer files into the following folder:

<your plexconnect install folder>\assets\certificates\trailers.pem

PEM-Win


You're now finished generating the SSL certificates.

[Return to the Windows Install Guide] (https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows)