-
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.
- Copy all three certificate files to default directory (.cer, .pem and .key to assets/certificates)
- Complete AppleTV configuration steps in the Install Guide (steps 3 & 4 in Mac and Linux guides, 4 & 5 in Windows guide)
- Go to the AppleTV Settings app
- Select “General” then scroll the cursor down to highlight “Send Data To Apple”
- Set "send data to apple" to NO
- This time press “Play” (not the normal “Select” button) and you will be prompted to add a profile
- Enter the URL for the .cer file: http://yourIPaddress/trailers.cer (don’t forget to add http:// and use your PlexConnect IP address)
[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.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.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 in Windows)
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 in Windows)
Place the trailers.pem file into the following folder:
<your plexconnect install folder>\assets\certificates\trailers.pem
[Return to the Windows Install Guide] (https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Windows)
© 2013 PlexConnect Team
© 2020 PlexConnect Team