Apple Push Notification Service: Certificate Install Server Side?

前端 未结 2 467
梦如初夏
梦如初夏 2021-02-15 11:06

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

相关标签:
2条回答
  • 2021-02-15 11:17

    Path to dev.pem was incorrect on my 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).

    0 讨论(0)
  • 2021-02-15 11:31

    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

    0 讨论(0)
提交回复
热议问题