iphone:撤销分发证书和推送通知

发布于 2024-09-27 01:42:24 字数 383 浏览 2 评论 0原文

我有一个启用推送通知的 iPhone 应用程序,并且运行良好。但我的 mac mini 刚刚“死了”,我意识到我确实忘记备份我的公钥/私钥:/所以我想我现在唯一的解决方案是创建新的证书(开发人员和发行版),这样我就可以继续我的工作......但是我的推送通知会发生什么情况?

我的意思是:用于我的推送通知服务器的pem 文件“链接”到我当前的分发证书。如果我撤销我的证书会怎样?

  • 我的推送通知仍然有效吗?
  • 如果是,当我提交新版本的二进制文件时会发生什么?
  • 如果没有,我“只”需要创建一个新的 pem 文件吗?

你们中有人经历过这样的情况吗?

I have an iPhone app with push notifications enabled and it's working pretty well. But my mac mini just "died" and I realize I did forgot to backup my public / private keys :/ So I guess my only solution now is to create new certificates (both developer and distribution) so I can continue my work ... but what happens with my push notifications?

I mean : the pem file used for my push notification server is "linked" to my current distribution certificate. What happens if i revoke my certificate?

  • Will my push notifications still work ?
  • If yes, what will happen when I'll submit a new version of the binary?
  • If not, do I "only" need to create a new pem file?

Did any of you experienced such a situation?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谁的年少不轻狂 2024-10-04 01:42:24

我可以从个人经验来看,如果您在新证书下发布新的二进制文件,您的用户将不会在应用程序的有序升级中遇到任何中断。同样的事情也发生在我身上,我担心的是,当我向应用程序提交更新时,事情会变得混乱 - 甚至更糟糕 - 用户会丢失他们保存的与我的应用程序相关的数据。 (在首选项或 sqlite 数据库中)。

然而,尽管新版本是由与原始版本完全不同的证书签名提交的,但一切都无缝运行。

没有做过这件事,但是涉及推送通知。

I can speak from personal experience, that if you release a new binary under your new certificate, your users will experience no disruption in the orderly upgrading of your application. The same thing happened to me, and my concern was that when I submitted an update to my application that things would get confused - and even worse - users would loose the data they saved which was associated with my application. (In either preferences, or the sqlite database).

Everything worked seamlessly however, despite the new version being submitted as signed by a completely different certificate as the original.

I have not done this however involving push notifications.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文