gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-03 14:36:13 25 4
gpt4 key购买 nike

一个愚蠢的问题,因为我对 HTTPS 和 SSL 的头脑不好。

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

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

最佳答案

需要 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)

关于ssl - 推送服务器应该支持 https 的 apns 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47630018/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com