Before you can use the push services you will need to create a Production and Sandbox push certificate for you application.
After you have downloaded your push certificates, you will need to create a PEM file out of both of them.
- Open the Keychain Access application and select your production certificate and its private key.
- From the File menu select "Export Items..."
- Name the export "Certificates.p12" and save them to your desktop.
- Open a terminal window and change directories to your Desktop
- run the following command line
openssl pkcs12 -in Certificates.p12 -out certificate.pem -nodes -clcerts
- Open "certificate.pem" using your favorite text editor.
- Copy all of the contents of the pem file and paste it into the certificate field located under the settings for your application on ContextHub.com.
Now repeat the previous steps, this time start by exporting your Development certificate.