Skip to content

Install Guide Mac Certificates

eduo edited this page Oct 25, 2013 · 22 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

Open a terminal window (Terminal.app on Mac) and run the following command

openssl req -new -nodes -newkey rsa:2048 -out ~/Desktop/trailers.pem -keyout ~/Desktop/trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"

This will create two files on your desktop: trailers.key and trailers.pem. Next run this:

openssl x509 -in ~/Desktop/trailers.pem -outform der -out ~/Desktop/trailers.cer && cat ~/Desktop/trailers.key >> ~/Desktop/trailers.pem

3 files should now be on your desktop (trailers.pem, trailers.key, and trailers.cer). We’ll be using them shortly.


Add the Certificate to PlexConnect

Place the trailers.pem file into the following folder:

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

PEM-Mac


Download and install the iPhone Configuration Utility

[iPhone configuration Utility for Mac 3.5] (http://support.apple.com/kb/DL1465)


iPhone Configuration Utility

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.cer”. At this point you’ll have something that looks like this:

iPhone Configuration Utility


Install the profile on the AppleTV

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.

iPhone Configuration Utility


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

© 2013 PlexConnect Team