Plex Logo

Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update

Update: Plex On Apple TV Without PlexConnect Or Jailbreak via AirPlay

Update: PlexConnect Running On Apple TV 6.1 Update

Update:  PlexConnect Running On Apple TV 6.0 Update

Plex LogoI’ve already reported about that PlexConnect still works on Apple TV Software 6.0 Beta (5.4 Seed 3, iOS 7) after the silent update from August, 27, 2013 and how to fix PlexConnect to get it running again on Apple TV 2 or Apple TV 3. However, getting PlexConnect installed on a Windows system like windows 7, 8 or 8.1 is a little bit tricky. Although Paul Kehrer published immediately a tweak to get PlexConnect working again on Apple TV 2 and 3, a lot of people are reporting about installation is failing, especially on Windows systems. The most common problem there is to get the certificate or profile correctly installed on the Apple TV. In the following I give you a simple step-by-step guide to get PlexConnect running again on Windows 7, 8 and 8.1. For installing PlexConnect on Mac OS X follow the fix described on the post ‘PlexConnect still works on Apple TV Software 6.0 Beta (5.4 Seed 3, iOS 7) after the silent update‘.

I conducted the installation on my Acer Aspire 1810T (64-bit) running on Windows 8.1 with Windows 8 Media Center installed. This fix should work for Windows 7 and 8 as well.

Step 1: Prepare your Windows system!

  • Download and install the latest Python version 2.7.6 (“Python 2.7.6 Windows Installer”) for your windows system (Do not install in any case versions 3.X nor “Python 2.7.6 Windows X86-64 Installer”!).
  • Download and install Win32 OpenSSL Win32 v1.0.1e (Nor the light version, neither Win64 version!). If Microsoft Visual C++ 2008 Redistributable Package is missing for installing OpenSSL, then download it from here. You need to install the version dated 11/29/2007!
  • Download and install iPhone Configuration Utility.
  • Download and extract the Plex Media Server, version 0.9.8.6.175.
  • First, delete all previous files of older PlexConnect versions from your Windows PC. Then download and extract the latest PlexConnect ZIP-file from Github (Do not download from PlexConnect.org!) to the folder C:\PlexConnect (create the folder, if it doesn’t exist).
  • Create the folder C:\Cert on your Windows root directory. Download the batch file ‘cert.create.bat‘ and copy the file into C:\Certcert.create.bat 
    ATV Cert Create trailer.der
    ATV Cert Create trailer.der
    cert.create.bat
    Version: 1
    358.0 B
    593 Downloads
    Details
  • Note: Some people face problems with ‘trailers.der‘. They got the error message ‘ValueError: unknown url type: /trailers.der‘ instead. In this case use the alternate file ‘cert.create-2.bat‘ which creates a ‘trailer.cer‘ file instead of a ‘trailers.der‘ file (Kudos to commentator Mark!). If you downloaded ‘cert.create-2.bat‘, you should change the command in step 2 to ‘cert.create-2‘: cert.create-2.bat 
    ATV Cert Create trailers.cer
    ATV Cert Create trailers.cer
    cert.create-2.bat
    Version: 1
    358.0 B
    308 Downloads
    Details

Step 2: Getting started to create the profile for Apple TV!

  • Open the windows Explorer and navigate to C:\Cert, left click on the screen below the name of cert.create.bat, so that no files are highlighted!
  • Press the shift key and right click on the screen. You will see the following Windows open:
Source: miApple.me

Source: miApple.me

 

  • Now click on ‘Open Command Window Here‘ and the command prompt will open and start at the folder C:\Cert.
  • Run the cert.create.bat (alternate retype all the commands in the cert.create.txt file). The folder C:\Cert should now contain 5 files: .rnd, cert.create.bat, trailers.der, trailers.key and trailers.pem. And a window ‘Certificate‘ opens automatically:
Source: miApple.me

Source: miApple.me

 

  • Click on the button ‘Install Certificate…‘, then click twice on ‘Next’ and at the ending on ‘Finish’. you should get the message ‘The import was successful‘.
  • Close the command prompt window and click on the ‘Certificate‘ the ‘OK‘ button now!
  • Go to C:\Cert select and copy the trailers.pem file, navigate to C:\PlexConnect where you have extracted the PlexConnect ZIP-file on your Windows PC.
  • Go to the folder C:\PlexConnect\assets and create a subfolder named ‘certificates‘.
  • Go to the newly created folder C:\PlexConnect\assets\certificates and paste the copy of the trailers.pem file.

Step 3: Installing the Certificate Profile on your Apple TV

Update: A more convenient way: PlexConnect: Installling Certificates On Apple TV Without USB

  • Start the iPhone Configuration Utility. You should find the iPCU.exe file there: C:Program Files (x86)\iPhone Configuration Utility and click on ‘Configuration Profiles‘. Then click on ‘New+‘.
  • Give it a Name and Identifier (I suggest one word without any special characters).
Source: miApple.me

Source: miApple.me

 

  • Scroll down and click on ‘Credentials‘, click on ‘Configure‘ and scroll down to find the certificate you just created and installed. It is named ‘trailers.apple.com‘. Click on it and then click ‘OK‘:
Source: miApple.me

Source: miApple.me

 

  • Now plug in your Apple TV 2 or 3 to a power source, wait till the light stops flashing and then connect it to the Windows PC via a micro USB cable. Wait till your Apple TV is recognized by your PC and the iPhone Configuration Utility program.
  • Click on your device and then the Configuration Profiles tab.
  • Click the install button. Wait till this button will have changed from ‘Install‘ to ‘Remove‘!
Source: miApple.me

Source: miApple.me

 

  • Close the iPhone Configuration Utility and disconnect the Apple TV from the computer and connect the Apple TV to your TV.
  • Change the DNS of your Apple TV to the IP-address of your Windows PC on which is Plex Media Server is running, following the part ‘Configuring your ATV’ of guide on github.

Step 4: Finish!

  • Restart PlexConnect.py from C:\PlexConnect.
  • Go to your Apple TV and try the Trailers it should be working now. you should see the following:
Source: miApple.me

Source: miApple.me

 

Note: Normally, you should not need to make any changes in the settings.cfg file of PlexConnect. I used the unchanged PlexConnect files!

If you followed this installation guide step-by-step PlexConnect on your Windows 7, 8 or 8.1 PC should be fixed after the silent Apple TV update and should now work again on your Apple TV 2 or Apple TV 3! Does it? Let us know and comment! Does it not? Let me know and I try to help you!

Stay tuned! ;-)

Last updated by at .

119 replies
Newer Comments »
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Paul,

      test it. But meanwhile I think that there’s something, in general, wrong with your permissions on your Windows PC. Do you have Windows 8 running? Do you have administrator rights?

      Cheers,
      Gee Are

      Reply
  1. marjo
    marjo says:

    super !!
    fonctionne pour moi alors que la première version n’avait même pas fonctionné (ou peut-être qu’Apple était passé par là avant…).
    en tout cas, maintenant j’ai accès à tous mes médias.
    super !!!
    enfin mon apple tv 3 va me servir ! car il faut avouer que sans ça, je n’en vois pas trop l’intérêt…

    Reply
    • Lex
      Lex says:

      Bonsoir, sa fais une semaine que je test plein de truc chaque soir, sur mon apple TV 3 en 6.0.2.
      Je sais que y’a de gens que sa fonctionne sous 6.0.2 donc le problème il est ou :S
      Svp si une personne aimerais ce faire 5 Euro (10$ Canadien) Via paypal, Pour me trouver le problème via TeamViewer ou autres. Contactez moi sur alex.bergeron94@icloud.com merci,

      Reply
  2. Bubakhon
    Bubakhon says:

    Thanks for the detailed instruction… everything went very smooth, no error or anything, however ATV3 says “trailers not available, try later”?

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon,

      there must be something wrong if you got this error message. I can only recommend to start to process from the very beginning. Did you use the batch file for producing the cert files? This is the most common failure.

      Cheers,
      Gee Are

      Reply
  3. Bubakhon
    Bubakhon says:

    Hi Gee Are,
    Thanks for your prompt response. yes I did use the batch file to create the cert file. following is what I get when I run PlexConnect::

    13:01:11 PlexConnect: started: 13:01:11
    13:01:11 PlexConnect: IP_self: 192.168.1.5
    13:01:12 DNSServer: started: 13:01:12
    13:01:12 DNSServer: ***
    13:01:12 DNSServer: DNSServer: Serving DNS on 192.168.1.5 port 53.
    13:01:12 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.5
    13:01:12 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
    13:01:12 DNSServer: forward other to higher level DNS: 192.168.1.1
    13:01:12 DNSServer: ***
    13:01:12 WebServer: started: 13:01:12
    13:01:12 WebServer: ***
    13:01:12 WebServer: WebServer: Serving HTTP on 192.168.1.5 port 80.
    13:01:12 WebServer: ***
    13:01:12 PlexGDM: ***
    13:01:12 PlexGDM: looking up Plex Media Server
    13:01:12 PlexGDM: ***
    13:01:12 WebServer: started: 13:01:12
    13:01:12 WebServer: ***
    13:01:12 WebServer: WebServer: Serving HTTPS on 192.168.1.5 port 443.
    13:01:12 WebServer: ***
    13:01:13 PlexGDM: servers discovered: 1
    13:01:13 XMLConverter: PlexGDM – PMS: 192.168.1.5:32400
    13:01:20 DNSServer: DNS request received!
    13:01:20 DNSServer: Source: (’192.168.1.7′, 63011)
    13:01:20 DNSServer: Domain: init.itunes.apple.com
    13:01:20 DNSServer: ***forward request
    13:01:20 DNSServer: -> DNS response from higher level
    13:01:20 DNSServer: DNS request received!
    13:01:20 DNSServer: Source: (’192.168.1.7′, 60778)
    13:01:20 DNSServer: Domain: xp.apple.com
    13:01:20 DNSServer: ***forward request
    13:01:21 DNSServer: -> DNS response from higher level
    13:01:21 DNSServer: DNS request received!
    13:01:21 DNSServer: Source: (’192.168.1.7′, 53274)
    13:01:21 DNSServer: Domain: itunes.apple.com
    13:01:21 DNSServer: ***forward request
    13:01:21 DNSServer: -> DNS response from higher level
    13:04:43 DNSServer: DNS request received!
    13:04:43 DNSServer: Source: (’192.168.1.7′, 56489)
    13:04:43 DNSServer: Domain: trailers.apple.com
    13:04:43 DNSServer: ***intercept request
    13:04:43 DNSServer: -> DNS response: 192.168.1.5

    Also, in my ATV, I have change the DNS to 192.168.1.5 from “192.168.1.1″ . Also, following is my batch file content:
    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

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

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

    trailers.der

    I greatly appreciate any help on this.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon,

      at the first time, I got the same output: Your certificate is either not properly installed or located at the wrong place on your PC. Repeat the part of creating and installing the certificate (delete all of the previous cert files from your PC before). Further more, you need to use exactly the software versions mentioned in step 1!

      Cheers,
      Gee Are

      Reply
  4. Bubakhon
    Bubakhon says:

    Hi, thanks again for a quick response….
    I went back & deleted everything and started all over….same result :-(
    My path to trailers.pem is “C:\PlexConnect\assets\certificates\”

    is it possible my port 80 being used by other prgm? if yes, how can I change it?

    Thx,
    Bubakhon

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon.

      all created files in c:\cert must remain there, meaning you should copy the trailers.pem to C:\PlexConnect\assets\certificates\ and not move it!

      Regarding the ports, port 443 is important, too. Have a look into your router settings, there must be something like ‘port forwarding’ in connection with the different IP adresses your devices are using. Check in your router if there are devices using the ports 80 and 443. what kind of router are you using?

      However, I think it is a certificate issue.

      Cheers,
      Gee Are

      Reply
  5. Bubakhon
    Bubakhon says:

    I have the “frontier” router…
    Actually, I went ahead and reset my router to factory setting…
    checked port forwarding, don’t see port 80 or 443 being used by any application

    What could be wrong with my certificate? By the way, when I unziped the PlexConnect, the certificate directory was already there and there is file name “certificates” already there which is a text file. Do I need to do anything with this?

    very frustrating now,

    Regards,
    -Bubakhon

    Reply
  6. bubakhon
    bubakhon says:

    Hi Gee Are,

    You were correct, fixed the certificate path and it’s all up and running. Thanks for all your help.

    I was able to add Channels , created a Movie & TV shows section in my library however I don’t know how to add contents to theses sections from the web/internet. Any idea?

    Regards,
    -Abe

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon,

      that’s great! Sorry for not reaching miApple.me, but my hoster alfahosting.de got massive problems. My blog couldn’t be reached for 14,5 hours! However, miApple.me is back again!

      Regarding your question to add content from the web, go to My Plex (https://my.plexapp.com/queue/help) and add the bookmark ‚Plex it’ to your browser. Then go to the website where the content is you want to add and click on the bookmark ‘Plex it’. The content should now be added to your ‘My Plex’.

      Cheers,
      Gee Are

      Reply
    • Angelo
      Angelo says:

      Hi bubakon,

      Could you tell me what path did you finally use for the certificate? I have this feeling that I could have the same troubles you had.

      Greetings,

      Angelo

      Reply
    • Dave
      Dave says:

      Can’t download the bat files. Why does it keep asking for a user name and password. If I need to join something to get the downloads how do I do that or where does the download files exist.

      Reply
  7. bubakhon
    bubakhon says:

    Hi Gee Are,

    Glad to see miApple.me is back, this is a very ressourceful site…keep up the good work !

    After “plex’ing” it and adding it to “my plex”, how do I view on my TV? Where do they show up on plex lib?

    Regards.
    Bubakhon

    Reply
  8. Sanjay
    Sanjay says:

    Hi

    I followed all instruction but unable to install profile on apple tv 3. in iPhone configuration utility install button is appearing but when I click it remain same. I waited long to convert in remove sign but nothing happen….please advice

    Sanjay

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Sanjay,

      there are two common reasons for not getting profiles installed on an Apple TV
      - using a ‘wrong’ micro-USB cable, e.g. I’ve got one which doesn’t work, using another cable worked (I don’t know why the one works and the other not, you have to try it)
      - if you previously tried to get PlexConnect running on your Apple TV before and you changed the DNS to ‘manual’ you should which back to ‘automatic’ and after that try installing the profile again.

      Cheers,
      Gee Are

      Reply

Trackbacks & Pingbacks

  1. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update […]

  2. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update […]

  3. […] Using AirParrot just for mirroring static PC’s screen (not videos) works on Windows systems. However, most customers want to AirPlay videos from the PC to the Apple TV. Hence, you have to convert your videos into Apple video formats. This is not very comfortable because it can really take a long time until the videos are converted (beside this, you need an extra app for that). A more convenient way (after you managed it to get it installed ;-)) is to use Plex and PlexConnect to stream videos from your Windows PC to your Apple TV. […]

  4. […] Create certificate files for Mac or Windows (Step 2). […]

  5. […] Si ringrazia per la guida e per le immagini miApple.me […]

  6. […] Si ringrazia per la guida e per le immagini miApple.me […]

  7. […] Update for windows 7,8 and 8.1: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>