http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html
and
http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial
I also met with the following ERRORS:
Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x2910d0 "未找到应用程序的“aps-environment”的权利字符串"
Interestingly, I solved the problem with this post "I got the solution, when you have configured your AppID for Push notification, then recreate a new provisioning file with this AppID and install it on the Xcode Organiser, this has worked for me ." from the following link: