I\'ve followed the instructions at How to build an Apple Push Notification provider server (tutorial) in an attempt to set up a push notification server.
The instructions are indeed the correct way to generate the .pem file. Once created it can be used on any machine (not just the machine that generated it).