I had a trailers.pem installed on a bunch of my plexconnect hosts so I did not want to generate and load a new one on to my hosts for when I use my appletv's locally and remotely. I also deleted my original trailers.cer that went with that trailers.pem so I couldn't utilize the network method to load my trailers.cer to my PlexConnect clients since I did not know at the time you could use it via over the network via plexconnects built-in webserver. I was always using a apache2 webserver to send my trailers.pem not knowing it was not the default method to my appletv locally using this method (among other stuff like addsite.mc or bag.plists).
http://forums.plexap...bserver-on-osx/
But now that there is this new method I wanted to keep and convert my trailers.pem back to a trailers.cer so I could use it locally (or remotely using the prior link):
https://github.com/i...to-your-appletv
Here is how I did it on OSX via terminal:
openssl x509 -inform PEM -in trailers.pem -out trailers.cer
This extracts the public key which is all the trailers.cer basically is.
Then I was able to load trailers.cer locally using plexconnect/apache2 or remotely using apache2.
Hope this helps someone. Also I noticed when I make a trailers.cer with createcert.bash it looks to be encrypted but when I convert it with this it does not yet it still installs as a profile on the atv and allows plexconnect to still function. I kind of like it better because I can at least read it and backup the contents in case I lose these files to just paste the keys back over :)