How to Deploy Apple Push Notification Certificate to Customer Site

后端 未结 2 1611
孤独总比滥情好
孤独总比滥情好 2020-12-18 01:22

Question: How can I securely include the SSL cert required for push notifications in the installer for my server product?

Background: Apple Push Notifications requir

相关标签:
2条回答
  • 2020-12-18 01:57

    I know only the solutions to install certificates for push notifications :

    • .p12, the password is in the code of the sending
    • .cer (.p12+private key) the password is requested at the importing of the certificate.

    In the first case, you can deploy your solution, and download some code, for example xml with the password.

    0 讨论(0)
  • 2020-12-18 02:19

    Here is a major observation that happened to me over the weekend regarding Apple Push certificates. While there many references out there to setting up the Apple Push server side certificates, here is a MAJOR point I discovered that I cannot find referenced in any Apple documentation, or via google.

    My situation: I have Push Certificates (sandbox) working great on Windows Server. Now it is time for production. Installation of production certs is successful like many times before. However, while the production push transmission completes error free, no pushes are generated to the device. Hmmm.

    I just HAPPEN to notice that my Mac's time is roughly a minute off from the Windows Server (command-tabbing between MacOS and VM-Ware). Looking at Windows and Mac Settings, I see Windows internet time is set for "time.windows.com", and the mac for "time.apple.com". Just for kicks, I change the windows server time to "time.apple.com". Instantly, pushes are now being sent to the device. Nice. :-)

    I dodged a major bullet here, this would have probably driven me insane trying to figure this one out. I do not claim to be an SSL cert guru... I (like most every one) just want to get this stuff to work because we have bigger fishes to fry.

    I hope this is useful information.

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