Install trailers.pem from appletv using a webserver on osx

put your trailers.pem in your root from here:

http://langui.sh/2013/08/27/appletv-ssl-plexconnect/


Install the settings prefpane websharing and install your profile from it:

http://clickontyler.com/blog/2012/02/web-sharing-mountain-lion/


add share by issuing this command after you run sudo su


ln -s / /Library/WebServer/Documents/yourfolderhere


The first slash / is your root. If you want something else fill it in like this for example:


ln -s /shared /Library/WebServer/Documents/yourfolderhere


In this case yourfolderhere is what you name you link and shared is the folder you wish to share. This is how to create a symbolic link to a directory for a webserver.


For example you can point to 192.168.1.101:8080/yourfolderhere/trailers.pem on you atv2 to install the cert under profile in settings on the atv2. You must use a proper port otherwise this will render plexconnect unusable unless you change your apache2 port to a different port such as 8080. Here is the location of the file you need to edit to change you listening port /etc/apache2/httpd.conf


DO NOT USE PORTS 53, 80 OR 443 FOR APACHE2 WEBSERVER, PLEXCONNECT USES THEM!


*Optional: You only have to forward your selected port on your router to 8080 and point it to your mac if you are going to install trailers.pem to your atv2 over the web such as yourfreedns.com:8080/yourfolderhere/trailers.pem


Get your free dns here:

http://freedns.afraid.org/


When your all done disable it in settings or leave it running your choice :slight_smile:


I would assume this works for other Operating systems with different commands obviously to install a webserver.

Aehm... would you care to tall us, WHY we should follow those steps?

Are you telling us, you can install the certificate from a WebServer, without the need of Apple's Configuration tool or iPhone management thing?

If this is what I read here... then I guess we will open up our WebServer to provide the certificate file!

I used the appleconfiguration tool originally. I dont know if you can do this from a atv that hasnt been edited with one of those tools or not. Can someone with a atv2 or atv3 test to see if there is a profile option there prior to these tools? Its under settings, general, profiles. Profiles should be under restart. See screen shots below.


*Edit much easier method here:


https://github.com/iBaa/PlexConnect/wiki/Install-Guide-AppleTV-Ethernet#wiki-install-the-certificate-to-your-appletv


Or just use a webserver such as apache2.

>> I used the appleconfiguration tool originally. I dont know if you can do this from a atv that hasnt been edited with one of those tools or not.

Yeah. Same here. :-D

While this is a great idea the problem is you don’t get the Profile options on the ATV until after you install your first cert using the Apple Tools at which point the cert is already on the ATV and there’s no need to install it using a webserver.

if its accidentally deleted or apple somehow patches it again maybe this will be a quick way to reapply the cert. i dont want to hook my apple tv up to my mac everytime i need to install future profiles if needed and its nice to know where to install profiles directly from the atv. Just looking towards the future of this project.

Apparently you can do this even if you dont have a profile installed by pressing play instead of select on the section in settings where it says send data to apple. (Using original atv remore) Thanks to this guy :slight_smile: http://www.youtube.com/watch?v=_JVGFlQwOn4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.