Plex Logo
, , ,

PlexConnect: Installling Certificates On Apple TV Without USB

Plex LogoHere’s how to install a certificate on Apple TV without USB cable (micro USB cable) to get PlexConnect on your Apple TV. Installing a certificate on your Apple TV is essential to get PlexConnect running because of the silent Apple TV Software update from August 27, 2013. Up to now, it was necessary to connect your Apple TV to your computer (Mac and Windows PC) via a micro USB cable. Some people including me noticed that not every micro USB cable is working to get the Apple TV recognized in the iPhone configuration utility.

Here’ how to install a certificate on Apple Tv 2 or 3 without using any micro USB cable:

  1. The latest version of PlexConnect from Github needs to be running.
  2. Create certificate files for Mac or Windows (Step 2).
  3. Copy all three certificate files to default directory .cer (Mac)/.der (Windows), .pem and .key to …/plexconnect/assets/certificates)
  4. Complete Apple TV configuration steps in the PlexConnect Install Guide (steps 3 & 4 in Mac and 4 & 5 in Windows guide)
  5. Go to the Apple TV Settings.
  6. Select ‘General‘ then scroll the cursor down to highlight ‘Send Data To Apple‘.
  7. Set ‘Send data to apple‘ to ‘No‘.
  8. This time press ‘Play‘ (not the normal ‘Select‘ button) and you will be prompted to add a profile.
  9. Enter the URL for the .cer file: http://your-Plex-Server-IP-address/trailers.cer […/trailers.der for Windows] (don’t forget to add http:// and use your PlexConnect IP address). Click on ‘Submit‘.

Using this work around is really an easy way to install a certificate to an Apple TV without using any micro USB cable. Credits to David Schuetz and nicochi!

Stay tuned! 😉

About 

Hi there,

my name is Gee Are, blogger and analyst. Blogging is my Passion! I’m the founder and owner of the two blogs called pabst.socialmedia and miapple.me - Tech.Blog.

My work experience as a blogger and analysist (Internet Intelligence, SEO and social media) is the basis of the services of pabst.socialmedia.

Find more about me.

90 replies
    • Dan Hux
      Dan Hux says:

      12/24/2015
      I used this tonight, worked like a champ. Thanks for a great article. I used my ATV3 with the latest updates, Linux Mint 17.3 on a laptop running Plex (PMS). I’m working on a setting up a small tablet to run a light version of linux, Kodi and Plex.

      Thanks again
      Dan

      Reply
  1. Sam
    Sam says:

    Hey

    When I am doing this is looks to be hanging on adding profile how long should this take left it for 5 minutes or so and then started it again but still no luck.

    my first issue was I had the firewall on but disabling that allowed me to add the profile but now its just stuck here

    Cheers
    Sam

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Sam,

      It should normally take seconds. So I wonder what is wrong in your case, too.

      Do you have more than one (WiFi-)network. Your devices should be in the same network.

      What often helps is to unplug the Apple TV from power, wait 30 seconds, plug it in again and restart the Apple TV and repeat the whole process.

      Cheers,
      Gee Are

      Reply
      • Sam
        Sam says:

        Hey

        Thanks for getting back to me so soon!! The laptop I am attempting to run it all off had a dynamic IP I have changed this now to a static and trying again (wish me luck)

        Did try turning it on and off again so lets hope it works this time

        Cheers,
        Sam

        Reply
        • Sam
          Sam says:

          Update: I have added the profile manually i no look the be having issues with the server not working correctly looks like the 2 are not talking to each other. First time I ran the Plexconnect it looked to be working okay but anytime after there I was not getting “DNS response from higher level” after extracting the zip again I have got it working!!

          Hope my comments help someone and thank you very much for your guide!

          Cheers,
          Sam

          Reply
          • Gee Are Pabst
            Gee Are Pabst says:

            Hi Sam,

            you’re welcome! I’m glad that you finally got it working! Thanks for commenting! You’re invited to join miApple.me community on Google+ or following miApple.me on Twitter, facebook or Google+!

            Cheers,
            Gee Are

            Reply
  2. Einar
    Einar says:

    Hi, I think maybe something goes wrong for me in step 4.. following the PlexConnect install guide (steps 4 and 5 for windows). Maybe you can help me with that. According to the pictures there PlexGDM should discover one server. However the only log I get is this:

    20:59:43 PlexConnect: started: 20:59:43
    20:59:43 PlexConnect: IP_self: 109.123.111.24
    20:59:43 DNSServer: started: 20:59:43
    20:59:43 DNSServer: ***
    20:59:43 DNSServer: DNSServer: Serving DNS on 109.123.111.24 port 53.
    20:59:43 DNSServer: ***
    20:59:43 WebServer: started: 20:59:43
    20:59:43 WebServer: ***
    20:59:43 WebServer: WebServer: Serving HTTP on 109.123.111.24 port 80.
    20:59:43 WebServer: ***
    20:59:43 WebServer: started: 20:59:43
    20:59:43 WebServer: ***
    20:59:43 WebServer: WebServer: Serving HTTPS on 109.123.111.24 port 443.
    20:59:43 WebServer: ***

    I have tried downloading the PlexConnect-02 zip instead of the PlexConnect master zip before, and then it discovered my plex media server. However then I also ran into problems later one, so I am in the process of reinstalling everything according to your guide “Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update”

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Einar,

      the Plex Media Server has to be running on your windows PC before starting PlexConnect. Did you reboot your Windows PC after installing Plex Media Server, Python and PlexConnect? Unplug and re-plug your ATV, too.

      Cheers,
      Gee Are

      Reply
      • Einar
        Einar says:

        I had not restarted my computer. But I did that now, unplugged ATV, rand Plex Media Server, then PlexConnect. Nothing changed however. Not really sure what it could be.

        Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Einar,

          the certificate is correctly installed? Go to setting, general and then to profiles: There should be ‘trailers.apple.com’ as a profile.

          Did you do it without using an USB cable? Did you change the DNS-address of your ATV? Please check that you followed all my instructions completely?

          Cheers,
          Gee Are

          Reply
      • Einar
        Einar says:

        Hi,
        This is before I try to add profile on my ATV, but I am doing it without a USB cable, and yes I have changed the DNS address of my ATV to be the same as IP SELF on PlexConnect…
        If I try to add the profile now, I get the unknown URL type error again.. However I have tried uninstalling and re-installing python many times, even different installations of python (python 2.7.5, 2.7.5(x64), 2,7,6 and lastly 2.7.6(x64)).
        As a side note the unknown URL error does not come up if I go through your instructions but use PlexConnect v0.2 instead of the master zip file. But then in turn I get an error when adding the profile
        .

        Reply
  3. Chris
    Chris says:

    Something is going wrong for me, I keep getting this error over and over again. This is what the command window of plexconnect gives me. Any idea what i could be doing wrong?

    21:58:36 PlexConnect: ***
    21:58:36 PlexConnect: PlexConnect
    21:58:36 PlexConnect: Press CTRL-C to shut down.
    21:58:36 PlexConnect: ***
    21:58:36 PlexConnect: started: 21:58:36
    21:58:36 PlexConnect: Version: 0.3
    21:58:36 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500
    32 bit (Intel)]
    21:58:36 PlexConnect: Host OS: win32
    21:58:36 PlexConnect: IP_self: 192.168.2.108
    21:58:36 DNSServer: started: 21:58:36
    21:58:36 DNSServer: ***
    21:58:36 DNSServer: DNSServer: Serving DNS on 192.168.2.108 port 53.
    21:58:36 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.2.108
    21:58:36 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    21:58:36 DNSServer: forward other to higher level DNS: 8.8.8.8
    21:58:36 DNSServer: ***
    21:58:36 WebServer: started: 21:58:36
    21:58:36 WebServer: ***
    21:58:36 WebServer: WebServer: Serving HTTP on 192.168.2.108 port 80.
    21:58:36 WebServer: ***
    21:58:36 WebServer: started: 21:58:36
    21:58:36 WebServer: ***
    21:58:36 WebServer: WebServer: Serving HTTPS on 192.168.2.108 port 443.
    21:58:36 WebServer: ***
    21:59:11 WebServer: serving .xml: /trailers.der
    —————————————-
    Exception happened during processing of request from (‘192.168.2.106’, 57141)
    Traceback (most recent call last):
    File “C:\Python27\lib\SocketServer.py”, line 295, in _handle_request_noblock
    self.process_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 321, in process_request
    self.finish_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File “C:\Python27\lib\SocketServer.py”, line 649, in __init__
    self.handle()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 340, in handle
    self.handle_one_request()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 328, in handle_one_request
    method()
    File “C:\PlexConnect\WebServer.py”, line 202, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
    File “C:\PlexConnect\XMLConverter.py”, line 347, in XML_PMS2aTV
    PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, authtoken=auth_token
    )
    File “C:\PlexConnect\PlexAPI.py”, line 319, in getXMLFromPMS
    response = urllib2.urlopen(request, timeout=10)
    File “C:\Python27\lib\urllib2.py”, line 127, in urlopen
    return _opener.open(url, data, timeout)
    File “C:\Python27\lib\urllib2.py”, line 396, in open
    protocol = req.get_type()
    File “C:\Python27\lib\urllib2.py”, line 258, in get_type
    raise ValueError, “unknown url type: %s” % self.__original
    ValueError: unknown url type: /trailers.der
    —————————————-

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Chris,

      the advice I can give you, is to check the cert file installation again. If you can’t access the trailer, the reason always lies in a wrong cert file or wrong installation of the certificate.

      To check that the certificate is on your Apple TV: Go to settings, general and then to profiles: There should be ‘trailers.apple.com’ as a profile. If not, the certificate was not correctly installed, you have to repeat the entire process. In your case, it seems to me that there is something wrong with your Python-Installation. Check that you did not install the x64-version of Python. Try to reinstal, Python then.

      Cheers,
      Gee Are

      Reply
  4. Chris
    Chris says:

    Hi Gee Are

    Yes i have not installed the trailers certification file to the Apple TV unit. The error output i posted is what i get when i try to add the profile to the unit, step 9 in the instructions that is.

    First i though i was writing the full path to the cert file wrong
    e.g. http://192.168.1.106/PlexConnect/assets/certificates/trailers.der
    but that didn’t seem to be it. Then i thought maybe it should just be the ip address of the computer and not the full path
    e.g. http://192.168.1.106/trailers.der
    But that didn’t work either.

    Could it be that it matters that the plexserver is automapped to another port then the default of 32400?

    Anyways i am going to try again, going through the installation of everything again. I could also try it on another computer to see if that might be the issue.

    Reply
  5. Jake
    Jake says:

    Is this still working after the recent update of 6.1 for aTV.
    I keep getting “Unable to add profile. An error occured while adding the profile [-1005]. Check the URL and try again.

    Thanks!

    Reply
        • Macsure
          Macsure says:

          Thanks Gee!!
          I worked it out just after I post my Question.
          Just for your info. I had to used ” cer” as “der” didn’t work for me.

          BTW, Love your work, Keep it up, I will be following you for sure

          Cheers from OZ

          Reply
  6. Eric Grenier
    Eric Grenier says:

    I am getting the error Trailers Not Available Please try again Later. I have followed the steps and still cannot get it working. I have included a copy of my log:

    12:18:29 PlexConnect: started: 12:18:29
    12:18:29 PlexConnect: Version: 0.3.1+
    12:18:29 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
    12:18:29 PlexConnect: Host OS: win32
    12:18:29 PlexConnect: IP_self: 192.168.0.29
    12:18:29 DNSServer: started: 12:18:29
    12:18:29 DNSServer: ***
    12:18:29 DNSServer: DNSServer: Serving DNS on 192.168.0.29 port 53.
    12:18:29 DNSServer: ***
    12:18:29 WebServer: started: 12:18:29
    12:18:29 WebServer: ***
    12:18:29 WebServer: WebServer: Serving HTTP on 192.168.0.29 port 80.
    12:18:29 WebServer: ***
    12:18:29 WebServer: started: 12:18:29
    12:18:29 WebServer: ***
    12:18:29 WebServer: WebServer: Serving HTTPS on 192.168.0.29 port 443.
    12:18:29 WebServer: ***
    12:22:35 PlexConnect: Shutting down.
    12:22:35 DNSServer: Shutting down.
    12:22:35 WebServer: Shutting down.
    12:22:35 WebServer: Shutting down.
    12:22:35 PlexConnect: shutdown

    Reply
  7. Amir
    Amir says:

    At the end I entered http://Ip address/trailers.cer

    I also tried to change my DNS on the apple tv (I tried with automatic, and tried to put the ip of my mac as a DNS)

    It always give me “An error occurred while adding the profile [109]. Check the URL and try again”

    My apple tv is running on 7.0.1 (6912) if that can help

    Reply
  8. Erik
    Erik says:

    Hi Are,
    I run correct version of Python, I try to create certificate file with .der and .cer. I copy these file in plexconnect\assets\certificates
    I add profile from ATV but error 4001 back me.

    22:29:14 PlexConnect: ***
    22:29:14 PlexConnect: PlexConnect
    22:29:14 PlexConnect: Press CTRL-C to shut down.
    22:29:14 PlexConnect: ***
    22:29:14 PlexConnect: started: 22:29:14
    22:29:14 PlexConnect: Version: 0.4-dev
    22:29:14 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500
    32 bit (Intel)]
    22:29:14 PlexConnect: Host OS: win32
    22:29:14 PlexConnect: IP_self: 192.168.1.250
    22:29:15 WebServer: started: 22:29:15
    22:29:15 WebServer: ***
    22:29:15 WebServer: WebServer: Serving HTTP on 192.168.1.250 port 80.
    22:29:15 WebServer: ***
    22:29:15 WebServer: started: 22:29:15
    22:29:15 WebServer: ***
    22:29:15 WebServer: WebServer: Serving HTTPS on 192.168.1.250 port 443.
    22:29:15 WebServer: ***
    22:29:15 DNSServer: started: 22:29:15
    22:29:15 DNSServer: ***
    22:29:15 DNSServer: DNSServer: Serving DNS on 192.168.1.250 port 53.
    22:29:15 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.250
    22:29:15 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    22:29:15 DNSServer: forward other to higher level DNS: 8.8.8.8
    22:29:15 DNSServer: ***
    22:29:27 WebServer: serving .xml: /trailers.der
    22:29:51 WebServer: serving .xml: /PlexConnect/assets/certificates

    Help me please!!!

    Reply
  9. pepijnp
    pepijnp says:

    Hi man,
    I’ve got a small question. After I set the ‘send data to apple’ on no and I click on the play button (I only have one play button but it’s the same as the select button) the apple TV doesn’t redirect me to the profiile page but just asks me if I want to send data to apple…
    Can you please help me?

    Reply
  10. Kama
    Kama says:

    Hi,

    I do all of this, but when I want to add a profil, this stap take a long time and nothing happen…

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Kama,

      try the following: unplug your Apple TV, shut down your computer and restart your router. Then, restart your computer and your Apple TV. Have a look that all devices are in the same WiFi/LAN network. and try again.

      Cheers,
      Gee Are

      Reply

Trackbacks & Pingbacks

  1. […] the new certificate file on your Apple TV via WiFi method with that URL for […]

  2. […] the new certificate file on your Apple TV via WiFi method with that URL for […]

  3. […] the new certificate file on your Apple TV via WiFi method with that URL for […]

  4. […] the new certificate file on your Apple TV via WiFi method with that URL for WSJ: […]

  5. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  6. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  7. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  8. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  9. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  10. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  11. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  12. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  13. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  14. […] certificate file I generated for Apple TV 7.0 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  15. […] certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. Finally, I configured the DNS of the Apple TV 3 to the IP address of my Plex Media Server […]

  16. […] If you install Apple Tv 7 beta software for the very first time, there is the need to restore your Apple TV, meaning all added profile were deleted. Hence, re-install the certificate file to get PlexConnect running again. I used the same certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. […]

  17. […] app certificate file ‘wsjapp.der‘ on your Apple TV using either the method without USB (PlexConnect: Installling Certificates On Apple TV Without USB) or iPhone Configuration utility for Windows (Step 3 in the PlexConnect Setup guide). Thelater one […]

  18. […] If you install Apple Tv 7 beta software for the very first time, there is the need to restore your Apple TV, meaning all added profile were deleted. Hence, re-install the certificate file to get PlexConnect running again. I used the same certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. […]

  19. […] If you install Apple Tv 7 beta software for the very first time, there is the need to restore your Apple TV, meaning all added profile were deleted. Hence, re-install the certificate file to get PlexConnect running again. I used the same certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. […]

  20. […] Note: Go to ‘…/applications/PlexConnect/assets/certificates‘ and copy the certificate file ‘trailers.der’ to the desktop and install the profile on your Apple TV according to ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. […]

  21. […] Due to the beta software, there was the need to restore my Apple TV, meaning all added profile were deleted. Hence, I had to re-install the certificate file to get PlexConnect running again. I used the same certificate file I generated for Apple TV 6 software and installed the profile following ‘PlexConnect: Installling Certificates On Apple TV Without USB‘. […]

  22. […] Update: A more convenient way: PlexConnect: Installling Certificates On Apple TV Without USB […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Comment