==== Notes ====
__8/5/2009:__
Implemented a basic server to send push notifications. Currently hardcoded to my iPhone as the recipient of push notifications. Attempted to connect via a PHP script, but the connection times out for some reason.
Screenshot of sample message:
{{:lifeline:lifeline_push.jpg|}}
Helpful commands:
Convert from .p12 to .pem:
openssl pkcs12 -nocerts -out apns-dev-key.pem -in private_key.p12
To verify the private key matches a certificate, use the following command:
$ openssl x509 -noout -modulus -in server.crt | openssl md5
$ openssl rsa -noout -modulus -in server.key | openssl md5
[[http://kb.wisc.edu/middleware/page.php?id=4064|DoIT KB Article]]
Once you have a certificate for push notifications, use the following command to verify that you are able to connect with Apple's servers:
$ openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert apple_push_cert.pem -key apple_push_key.pem
__8/4/2009:__
Currently pulls last known location of friends from a web service and plots them on a map.
Sample screenshot:
{{:lifeline:img_0113.jpg|}}