Time for action – getting a push certificate
Perform the following steps to get a push certificate:
You need to register your app with Apple using the iOS provisioning portal before you can register for push notifications. This is described in Chapter 11, Testing and Deploying in the section on distributing your app. Assuming your app is registered, you will need to configure your app for push notifications. We can see from the following screenshot that our app is not configured for push notifications at the moment:
Configuring your app for push notifications involves creating a certificate locally which will identify and authenticate you. This is a bit fiddly so bear with me.
Launch the keychain application. Open the Certificate Assistant by navigating to Keychain Access | Certificate Assistant | Request a Certificate from a Certificate Authority. You will a get a screen similar to the following:
Click on Continue and then on the following screen enter your e-mail address and common name...