-
Notifications
You must be signed in to change notification settings - Fork 625
Install Guide Windows Certificates
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. This method is the only one compatible for Windows.
[iPhone configuration Utility for Windows 3.6.2] (http://support.apple.com/kb/DL1466)
Download and install [OpenSSL] (http://slproweb.com/products/Win32OpenSSL.html) (choose the Win32 Light version). Then run the following commands in a cmd prompt window. This will work with a default OpenSSL win32 install, but you need to run cmd with administrator privileges (right click run as administrator):
C:\OpenSSL-Win32\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:\OpenSSL-Win32\bin\openssl.cfg
Next run this:
C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:\trailers.pem -outform der -out C:\trailers.der
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.der). We’ll be using them shortly.
First, double click the trailers.der file and then click "Install Certificate" to install it to your local certificate store. Next, open the iPhone Configuration Utility and click Configuration Profiles on the left, then click new. Fill in the Name and Identifier with whatever names you want and then scroll down on the left pane and choose Credentials. Click Configure and add the “trailers.apple.com” certificate (or if you named it differently pick appropriately. At this point you’ll have something that looks like this (Mac images shown, workflow is identical):
First, plug AC power into the AppleTV. Next, connect your AppleTV to your computer using the microUSB cable. You must have the AppleTV plugged into power when you do this or else it will enter recovery mode. Once it sees the device click on it on the left, then click the Configuration Profiles tab, and finally click install next to the configuration profile you want to install. (Mac images shown, workflow is identical)
Place the trailers.pem file into the following folder:
<your plexconnect install folder>\assets\certificates\trailers.pem
© 2020 PlexConnect Team