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.
When I attempt
Were you able to use the same .pem file in your server? And as you said...on any machine.
I have follow this tutorial and I could send messages from my machine (the one were the certificate was generated) but I have tried copy all files and run the script in another machine and I have got the same errors that you have got.
How have you done to make it works in another machine? Have you installed the .pem file? Any special config?
Cheers