Close Menu
miapple.me – Tech.Blogmiapple.me – Tech.Blog

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Content Is Still King! 12 Years Of Blogging: miapple.me – Tech.Blog’s 12th Anniversary

    January 21, 2024

    Content Is King Again! 10 Years Of Blogging: miapple.me – Tech.Blog’s 10th Anniversary

    January 21, 2022

    Fixing: Time Machine couldn‘t complete backup

    April 30, 2021
    • Downloads
    • Email Subscription
    • Imprint
    • Privacy Policy
      • Push Notifications Subscription
      • Terms of Use
    • Search
    miapple.me – Tech.Blogmiapple.me – Tech.Blog
    • Apps
    • AirPlay
    • Apple
      • Apple TV
      • Apple Watch
      • iCloud
      • iTunes
      • macOS
    • iOS
    • HomeKit
    • Plex
    • Raspberry Pi
    • Windows
    • Downloads
    • Email Subscription
    • Imprint
    • Privacy policy
      • Push Notifications Subscription
      • Terms of Use
    • Search
    Subscribe
    miapple.me – Tech.Blogmiapple.me – Tech.Blog
    Home»Apple TV»PlexConnect: Installling Certificates Without USB On Apple TV
    Apple TV

    PlexConnect: Installling Certificates Without USB On Apple TV

    Gee Are PabstBy Gee Are PabstNovember 3, 2013Updated:January 10, 202194 Comments2 Mins Read
    Plex Logo

    Plex LogoInstalling certificates without USB on Apple TV is a elegant and easy way 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. Installing certificates over the air (OTA) on Apple TV can used for any certificates, not only for the PlexConnect ones.

    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 installing certificates without USB cable on Apple TV2 or 3:

    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‘.
    PlexConnect Certificate on Apple TV without micro USB cable_01
    Source: miApple.me
    PlexConnect Certificate on Apple TV without micro USB cable_02
    Source: miApple.me
    PlexConnect Certificate on Apple TV without micro USB cable_03
    Source: miApple.me
    PlexConnect Certificate on Apple TV without micro USB cable_04
    Source: miApple.me

    Using this work around is really an easy way to install certificates without USB cable to an Apple TV over the air (OTA).

    Stay tuned! 😉

    Apple TV 2 Apple TV 3 MacBook Mavericks PlexConnect Windows 8 Windows 8.1
    Previous ArticleFixing Gmail Bug On Mac OS X 10.9 Mavericks Mail App
    Next Article Mail Update For Mavericks Mail 1.0 Released: Gmail Bug Fixed
    Gee Are Pabst
    • Website
    • Facebook
    • X (Twitter)
    • Pinterest
    • LinkedIn

    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.

    Related Posts

    macOS

    Fixing: Time Machine couldn‘t complete backup

    April 30, 2021
    Android

    Calipio: Screen Recording Without Registration, E2E-encrypted

    February 15, 2021
    macOS

    Fixing Mac No Admin Account On macOS Mojave Or Later

    February 3, 2021
    View 94 Comments

    94 Comments

    1. Taro on April 2, 2014 22:40

      Hi, I can not add a profile on step 8. like this issue https://discussions.apple.com/thread/5591412
      my Apple TV 3 version is 6.1(6698.99.16) , have any idea? thanks

      Reply
      • Taro on April 2, 2014 22:52

        I did it. I could add a profile when on step 6 ..highlight ‘send data to Apple’ then press play.

        Reply
        • Macsure on August 27, 2014 09:50

          I have the same problem , how to u get yr play button to response please

          Reply
          • Gee Are Pabst on August 27, 2014 10:23

            Hi Macsure,

            either press the ‘Play’-button of your Apple remote or use the Remote app on your iPhone or iPad to press the ‘Play’ button.

            Cheers,
            Gee Are

            Reply
          • Macsure on August 27, 2014 10:33

            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
            • Gee Are Pabst on August 27, 2014 10:54

              Hi Macsure,

              many thanks for your feedback!

              Regarding cer/der, this is written in 3. in this post.

              Cheers,
              Gee Are

              Reply
    2. Jake on March 14, 2014 14:10

      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
      • Gee Are Pabst on March 14, 2014 19:06

        Hi Jake,

        PlexConnect is still working on Apple TV 6.1:
        https://miapple.me/plexconnect-running-apple-tv-6-1-update/
        Check your cert-file: It’s very often a wrongly generated cert-file. Repeat generating it using the trailers.der batch file, if this doesn’t work try the trailers.cer batch file, not the teailers.der one:
        https://miapple.me/installing-plexconnect-on-windows-7-8-and-8-1-after-apple-tv-update/

        Cheers,
        Gee Are

        Reply
        • Jake on April 12, 2014 17:45

          Hey thanks,

          It worked.
          The problem was I was migrating from windows to a mac and was trying to use the certs I had generated in win to install via your method on apple tv.
          Generated the certs again via mac and now all is well 🙂

          /Jake

          Reply
          • Gee Are Pabst on April 14, 2014 21:24

            Hi Jake,

            you’re welcome! Thanks for your feedback!

            Cheers,
            Gee Are

            Reply
    3. @benoahriz on March 6, 2014 02:03

      This helped me add an ssl cert to my ATV2 without getting up from my Bed to plug a cable in. http://t.co/nQfoy59Bgr

      Reply
    4. Chris on December 27, 2013 00:57

      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
      • Gee Are Pabst on December 27, 2013 13:32

        Hi Chris,

        the later IP address is correct, if the IP of your PC, on which the Plex server is running, is 192.168.1.106. However, you have to point the DNS of your Apple TV to your PC before trying to install the cert file (Step 4 in this guide)!

        Further more, did you create the folder C:/Cert including the cert files? Follow this tutorial:
        https://miapple.me/2013/09/09/installing-plexconnect-on-windows-7-8-and-8-1-after-apple-tv-update/

        Cheers,
        Gee Are

        Reply
    5. Chris on December 25, 2013 23:05

      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 on December 25, 2013 23:17

        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
        • Mark McEvoy on January 3, 2014 18:33

          I just went though this last night (PlexConnect on Windows 7), got this same error everyone else is quoting above (ValueError: unknown url type: /trailers.der) , and FOUND A WORKAROUND. I renamed my trailers.der (as it was named from the batch file) to trailers.cer, and told my AppleTV profile url to look for trailers.cer, and it finally connected!

          It looks like something that changed along the way (Silent apple upgrade? The fact that we’re using a later version of Plex Media Server than outlined because we can no longer fetch older versions) that disallowed the profile creation to find a cert file named .der – but it does just fine if it’s named .cer . And that’s all it takes – a simple file rename.

          Reply
          • Gee Are Pabst on January 3, 2014 19:43

            Hi Mark,

            many thanks for your work around! I will test it, too.

            Cheers,
            Gee Are

            Reply
            • Mark McEvoy on January 3, 2014 20:43

              And a big thank you to you for this tutorial! I was lost trying to get things worked out with my new Christmas-gift ATV3 ’til I saw these two articles. I was on the verge of having to spend a weekend or two in Handbrake converting my media library into an Apple-recognized format for use with AppleTV and then adding Season/Episode info to each one – very happy to not have to go through that.

              I hope Chris is subscribed and sees this.

              Reply
              • Chris on January 3, 2014 20:51

                Yeah i’m seeing this. Now i just need to convince my mother about letting me have a second go at this. THe failure of getting it working put her off it the first time around.

                Reply
                • Gee Are Pabst on January 4, 2014 10:40

                  Hi,

                  I created a second batch file to create ‘trailer.cer’ instead of ‘trailers.der’:
                  https://miapple.me/download/plexconnect/cert.create-2.bat
                  and updated the original post:
                  https://miapple.me/2013/09/09/installing-plexconnect-on-windows-7-8-and-8-1-after-apple-tv-update/

                  Can anybody confirm that this second batch file is working?

                  Kudos to Mark!

                  Cheers,
                  Gee Are

                  Reply
                  • Pxlpusher on February 28, 2014 16:14

                    I just get taken to a WordPress login screen and can’t download the file

                    Reply
                    • Gee Are Pabst on February 28, 2014 20:13

                      Hi,

                      you have to make a social login with Faceboook or Twitter or… to get access for downloading the file.

                      Cheers,
                      Gee Are

                      Reply
          • Daniel Caissie on March 19, 2014 15:45

            Thanks Mark, spent hours trying to fix my issue, your trick worked.

            Reply
          • Gunnar on August 4, 2015 21:14

            Thx, that rename fixed it for me too 🙂

            Reply
    6. Pingback: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update | miApple.me

      • jrpd on September 25, 2014 20:38

        help!!! plex media server is running … Followed all steps listed above… used http://192.168.0.14/trailers.der…. after ‘submit’ on atv …unable to add profile [109] … check URL

        Reply
        • Gee Are Pabst on September 25, 2014 21:22

          Hi jrpd,

          sometimes the method without USB is not working. Try to add the profile using the USB cable method with iPhone configuration utility.

          Cheers,
          Gee Are

          Reply
    7. Einar on November 21, 2013 22:09

      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 on November 21, 2013 22:17

        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 on November 21, 2013 22:38

          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 on November 21, 2013 22:50

            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 on November 21, 2013 23:15

          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
          • Gee Are Pabst on November 21, 2013 23:31

            Hi Einar,

            did you use this url: http://your-Plex-Server-IP-address/trailers.der?
            And just use ‘Python 2.7.6 Windows installler’ version, not the x64 one.

            Cheers,
            Gee Are

            Reply
            • Einar on November 21, 2013 23:53

              yes so mine became:
              http://109.123.111.24/trailers.der

              Since this is from the PlexConnect log:
              20:59:43 PlexConnect: IP_self: 109.123.111.24

              That’s the right ip isn’t it?

              Reply
              • Gee Are Pabst on November 22, 2013 00:01

                Hi Einar,

                to be sure you should go to your router to see if the IP address is correct. And you should have a fixed IP for your PC, not a dynamic one.

                Cheers,
                Gee Are

                Reply
    8. Sam on November 19, 2013 18:27

      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 on November 19, 2013 18:39

        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 on November 19, 2013 19:21

          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 on November 19, 2013 19:50

            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 on November 19, 2013 20:30

              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
    9. Bob on November 16, 2013 04:08

      when i add http:///trailers.der on apple tv giving error “Unable to add profile”. Plex connect is working fine

      Reply
      • Gee Are Pabst on November 16, 2013 09:10

        Hi Bob,

        you forgot the computer’s IP address: …//your-Plex-Server-IP-address/trailers.cer […/trailers.der for Windows] !

        Cheers,
        Gee Are

        Reply
    10. miApple.me (@miAppleMe) on November 3, 2013 20:42

      PlexConnect: Installling Certificates On Apple TV Without USB http://t.co/xmNeZONwLt

      Reply
      • Dan Hux on December 25, 2015 04:45

        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
        • Gee Are Pabst on January 5, 2016 21:33

          Hi Dan Hux,

          you’re welcome! Thanks for your feedback! Let me know your proceedings with the light versions on a small tablet!

          Cheers,
          Gee Are

          Reply
    Newer Comments →
    Leave A Reply Cancel Reply

    Top Posts

    Fixing ‘Cannot Connect MacBook To iPhone Via Bluetooth’

    May 5, 20166,985 Views

    Fixing No Notification Sounds On iPhone When Locked

    January 8, 20214,560 Views

    How To Fix MacBook Micro-Vibrations While Charging Due To Insufficient Grounding

    June 21, 20203,604 Views

    Fixing Mac No Admin Account On macOS Mojave Or Later

    February 3, 20212,131 Views

    Installing Huawei E3372 On macOS 11 Big Sur, Mac OS 10.12 Sierra And macOS 10.13 High Sierra

    August 11, 20161,877 Views

    Apple iCloud Mail Blocks Outbound Emails: Silent Filtering And How To Fix It

    December 1, 2020822 Views
    Featured Reviews

    Fixing ‘Cannot Connect MacBook To iPhone Via Bluetooth’

    May 5, 20166,985 Views

    Fixing No Notification Sounds On iPhone When Locked

    January 8, 20214,560 Views

    How To Fix MacBook Micro-Vibrations While Charging Due To Insufficient Grounding

    June 21, 20203,604 Views
    Our Picks

    Content Is Still King! 12 Years Of Blogging: miapple.me – Tech.Blog’s 12th Anniversary

    January 21, 2024

    Content Is King Again! 10 Years Of Blogging: miapple.me – Tech.Blog’s 10th Anniversary

    January 21, 2022

    Fixing: Time Machine couldn‘t complete backup

    April 30, 2021

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    • Home
    • Search
    • About Us
    • Contact Us
    Copyright © 2012-2025 miapple.me™

    Type above and press Enter to search. Press Esc to cancel.