是否可以为将 APN 发送到同一应用程序的提供商创建多个 SSL 证书?
我意识到存在一个关于允许多个服务器使用相同的 SSL 证书向同一应用程序发送推送通知的问题,但我的问题不同。
假设单个 iOS 应用程序的开发人员希望允许多个提供商向他的应用程序发送推送通知,但希望控制哪些提供商有权向他的应用程序发送 APN(并且能够从任何一个提供商处撤销该权限)其中)。
如果所有提供商都具有相同的证书,为了阻止其中一个提供商发送 APN,他必须阻止所有提供商(通过撤销 Push SSL 证书并获取新证书)。 是否可以从 Apple 为同一应用程序获取多个 Push SSL 证书?
这将使为每个提供商分配一个唯一的证书成为可能,这将允许阻止单个提供商而不阻止其余提供商。
在 Apple 配置门户上,似乎不可能为同一应用程序和同一环境(开发/生产)创建多个 Push SSL 证书,但我想确定是否无法做到这一点。
I realize there was a question about allowing multiple servers to send Push Notifications to the same application using the same SSL Certificate, but my question is different.
Suppose that the developer of a single iOS application would like to allow multiple providers to send Push Notifications to his application, but wants to control which providers have the authority to send APNs to his App (and to be able to revoke that privilege from any one of them).
If all the providers have the same certificate, in order to block one of them from sending APNs, he has to block them all (by revoking the Push SSL Certificate, and getting a new one).
Is it possible to get from Apple multiple Push SSL Certificates for the same Application?
That would make it possible to assign a unique certificate for each provider, which would allow to block a single provider without blocking the rest.
On the Apple Provisioning Portal there doesn't seem to be a possibility to create more than one Push SSL Certificate for the same Application and the same environment (Development/Production), but I wanted to be sure whether it can't be done.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
既然没有人回答我的问题,那我就自己回答吧。
这个问题的答案过去是否定的,但苹果似乎在配置门户(现在称为
证书、标识符和配置文件
)中进行了一些更改,现在可以为相同的应用程序和相同的环境。Since no one answered my question, I'll answer it myself.
The answer to that question used to be no but it seems that Apple made some changes in the provisioning portal (which is now called
Certificates, Identifiers & Profiles
), and now it's possible to define multiple certificates for the same application and the same environment.实际上,您只能为一个 App ID 创建 2 个 Apple Push 证书,不能再创建更多。
苹果开发者中心不允许我创建两个以上,而我的朋友也有同样的体验。
我不知道现在如何解决你的任务。在我看来苹果不想支持这样的产品。也许您可以使用企业开发者帐户做更多事情,但我没有。所以也许其他人可以告诉我们是否允许为 iOS 应用程序创建更多推送证书。
Actually you can create only 2 apple push certificates for one App ID and no more.
Apple developer center does not allow me to create more then two and same experience has my friend.
I don´t see how your task can be solved now. In my opinion Apple does not want to support such products. Maybe you can do more with Enterprise Developer account but I don´t have one. So maybe anyone else can tell us if it allows to create more push certificates for on iOS application.