推送服务器应该支持 https 的 apns 吗?

should the push server support https for apns?

一个愚蠢的问题,因为我对 HTTPS 和 SSL 不太了解。

问题很简单。正如我在 Apple APNS guide 所读到的,需要 SSL 证书。该证书应该仅与我的 App ID 链接,还是应该以某种方式代表我的 WEB 服务器?

换句话说:是否可以通过 HTTP 设置推送服务器,或者应该 仅 HTTPS?

verify/identify 发件人和推送将发送到的应用程序需要 SSL 证书。

来自文章 Certificate-Based Provider-to-APNs Trust

A certificate-based provider connection is valid for delivery to one specific app, identified by the topic (the app bundle ID) specified in the provider certificate (which you must have previously created, as explained in “Generate a universal APNs client SSL certificate” in Xcode Help)

回答你的问题:

Should this certificate be linked only with my App ID or it should somehow represent my server to the WEB? It have to be linked with your app id. And it is used to setup secure connection between your server(PN provider) and Apple Push Notifications server (for sending request from server to APNS)