-
Notifications
You must be signed in to change notification settings - Fork 622
Install Guide Mac 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. To see the Apple Configurator method follow the link to the original blog above.
[iPhone configuration Utility for Mac 3.5] (http://support.apple.com/kb/DL1465)
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.
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:
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.
Place the trailers.pem file into the following folder:
<your plexconnect install folder> /assets/certificates/trailers.pem
[Return to the Mac Install Guide] (https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Mac)
© 2020 PlexConnect Team