1, enter the Apple Developer website Developer.apple.com, click Member Center, enter the login screen.
2, enter your developer account and password, log in will jump to "select your team" this interface.
3. Choose your team, go to the personal center, select "Certificates, Identifiers & Profiles". Then select the iOS app's certificate and go to the certificate interface.
4, before making the certificate you need to create an app ID, according to your project settings inside the bundle identifier to create. If you have an app ID that you've already created, you can edit it directly as well. Each app ID is created or edited, and you can see that it has a property list application service, where an option called Push notifications is included.
5, check this option, you will see that there are two SSL certificates need to create, one for development, one for the release of the app. Click the "Create Certificate ..." button to start the creation.
6. Read the next instructions carefully and you'll know how to do it. Open the Finder on your Mac, find the application---utility (Utilities) folder, and locate keychain access (Keychain access). Double-click to open it.
User e-mail is your developer account, the commonly used name to go to a name, required, CA not fill in. Store to disk, click Continue after saving request to desktop or other folder
7, back to your browser to create a certificate interface, click Next, you just created the application file upload, and finally click on the build to create a APNS certificate.
Just said, APNS (push) The certificate has two, developed and released, you follow the above steps can be created successfully.
8, here is not finished, you need to create provision profile, the creation of the time you need to select the app ID you just created, the app ID contains the push service, so it is associated with your application.
I only said above to create the APNs certificate of the situation, about the server configuration, you can refer to the following address:
Http://www.cnblogs.com/weilaikeji/archive/2013/10/27/3391446.html
Http://www.blogjava.net/xiaomage234/archive/2014/06/18/414895.html
Add APNS Notification