Thank you kindly. Could the blog be updated to mention it's not key file, but pem file, as I found that confusing.
That was what I copied and pasted from the website. :). No corrections needed.
Thank you kindly. Could the blog be updated to mention it's not key file, but pem file, as I found that confusing.
I did exactly this, and it's working for me. Created the files on the mac, copied to the plexconnect folder on windows - certfile = c:\folder railers.pem works fine.
Yes, that's exactly what I see.
What happens if you try to connect to your plex server with a web browser over SSL? You can do this by opening a browser on the computer and going to https://localhost. You should see a certificate error and if you look at the cert it should be for trailers.apple.com.
What happens if you try to connect to your plex server with a web browser over SSL? You can do this by opening a browser on the computer and going to https://localhost. You should see a certificate error and if you look at the cert it should be for trailers.apple.com.
I get this 
(I truly appreciate your patience - I feel like I must be overlooking something incredibly minor!)
I have no idea what's going on at the moment, sorry! Hopefully your problem will be resolved as this patch gets improved.
Incidentally... I've looked a bit more into loading mobile configs over http in the AppleTV settings and I modified the WebServer.py to be able to load a prebuilt config! I'm not enthusiastic about the idea of pushing the same root certificate out to everybody though so I'm not sure if it's a great idea to add it. If I did the steps would become:
1) Get new PlexConnect
2) Add profile on AppleTV through AppleTV interface
3) Done.
However, everyone with the same root certificate means whoever has the private key could potentially man-in-the-middle things on your Apple TV (including iTunes store interaction, etc). I could avoid distributing the private key and build a cert hierarchy for this, but then *I* still have it.
Edit: Apparently if you remove all profiles the profile section disappears so you can't add via HTTP. Since you don't have any profiles until after the microUSB addition step then this may not be possible. Does anybody know a way to make profiles show up under general when there are no profiles installed?
I've followed the instructions and gotten to the point of uploading it to ATV. I have't finished because I am conceded that any changes after this point:
1. haven't been confirmed to work and doesn't interfere with the other functions on ATV
2. Will interfere with a permanent solution later on
3. not sure it can be easily undone
What happens if you try to connect to your plex server with a web browser over SSL? You can do this by opening a browser on the computer and going to https://localhost. You should see a certificate error and if you look at the cert it should be for trailers.apple.com.
When I try this from my laptop, I get localhost not available, and when I try it from my plex server I get safari cannot establish a secure connection, but no certificate error, any thoughts?
Have you found any headers that work yet? I've tried passing Cache-Control: public and max-age=3600, but no luck so far.
Nah, doesn't seem to aboy Etags or any other cache controls.
What seems to take most of the time is:
06:04:59 WebServer: serving .xml: /library/sections/1 06:05:03 WebServer: Timed: 4047.28102684 ms
But why does it keep re-requesting it after every time you go back and forth in menus. Might need to compare the PlexConnect javascripts to new Appletrailer javascripts?
Am I the only one uncomfortable with the level of flanging needed for this?
Damn you Apple
When I try this from my laptop, I get localhost not available, and when I try it from my plex server I get safari cannot establish a secure connection, but no certificate error, any thoughts?
localhost will only work if it's on the machine you're running plexconnect on. Hit it by IP if you're not on the same machine.
If I'm understanding orthogonal's workaround then we should be able to use any other app (instead of Trailers) since (my understanding) is we couldn't previously because of the http vs https. I for one would love to get the trailers app back, I really liked it and my wife really liked it. The trailers channel in Plex was total crap last time I tried it.
localhost will only work if it's on the machine you're running plexconnect on. Hit it by IP if you're not on the same machine.
When on the server running PlexConnect I get the following error. I get the same when from my laptop (except it says the ip address instead). I dont get a cert popup as expected. 
Can Apple legally remotely change the programming on a device I own? I got to believe they can’t. I don’t recall agreeing to it.
nix this, been up to long staring at code all day, I had not one, not two, but 3 fat fingers in my settings.cfg
Works like a charm cheers you guys! Seriously you should setup a kickstarter or paypal so I can send you some $$$
Anyone get this to work with a windows based installation? i just tried, everything worked as planned but still getting the trailers unavail.
Pyrosx said he had it working.
I had a bunch of issues with Settings - so I blew away the old copy completely and started fresh, which created a new settings file. Added the lines as per instruction, created the keys on the mac, patched them to the atv, and then copied them to the windows plex connect directory, and it worked.
I ended up having to man handle vmware workstation off of port 443 too - dunno what it does with it.
I had a bunch of issues with Settings - so I blew away the old copy completely and started fresh, which created a new settings file. Added the lines as per instruction, created the keys on the mac, patched them to the atv, and then copied them to the windows plex connect directory, and it worked.
I ended up having to man handle vmware workstation off of port 443 too - dunno what it does with it.
I had a bunch of issues with Settings - so I blew away the old copy completely and started fresh, which created a new settings file. Added the lines as per instruction, created the keys on the mac, patched them to the atv, and then copied them to the windows plex connect directory, and it worked.
I ended up having to man handle vmware workstation off of port 443 too - dunno what it does with it.
You can have a secure webportal with VMWare so that's why HTTPS get used. It's annoying that's for sure.
You can do what you have done, or if you are using VMWare just for this, uninstall it once you are done and just keep the disk image for laziness.
The fix worked great for me. Thanks for the hard work... Though as others have said it does feel slower now.
Nice! Knockout for Apple! Thank u guys