ios - APNS : is APNS certificate needed if Auth Key using?

标签 ios apple-push-notifications

我支持一个移动应用程序。最近我收到一封电子邮件,“apns 生产证书即将到期”。之后我检查了我的后端,发现没有使用任何证书,只有身份验证 key 。据我所知,身份验证 key 没有到期 key 。我想 apns-cert 是在启动后第一次使用,或者可能是错误地创建但现在没有使用。所以我有几个问题:

1) 对于运行良好的 APNS,我应该只有没有 APNS 证书的身份验证 key 吗? (我的想法 - 我可以在不损害当前 APNS 的情况下安全地删除证书)吗?

2) 例如,如果我有未在生产中使用的 APNS 证书 - 我仍然在我的电子邮件中收到一些通知 - 例如“此证书将很快到期”?

提前致谢。

最佳答案

1) For well-working APNS, should I have only auth key without APNS certificates? (My idea here - can I safely remove cert without hurting current APNS)?



如果您不使用,您可以安全地删除任何过期的 APNS 证书。它们与 Auth Key 无关。

2) If for example I have non-used in production APNS certificate - I still receive some notifications on my email - like "this certificate will expiring soon"?



正因为您创建了这些证书,所以 Apple 会在它们即将到期时通知您到期日期。

您可以引用以下讨论以获取更多详细信息。

https://forums.developer.apple.com/thread/91891

关于ios - APNS : is APNS certificate needed if Auth Key using?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50472232/

相关文章:

ios - 如何向 AudioGraph 添加固定增益?

ios - 类型 'String?' 不符合协议(protocol) '_CollectionType'

iphone - 通知中心 - 我如何知道是否有 'unread' 通知?

ios - 将 apns token 与字符串进行比较?

ios - ios推送通知续订

ios - 如何获取数组中的字典对象

ios - 对象C:在CommonCrypto中,如果CCCrypt()不使用选项kCCOptionPKCS7Padding,则结果缓冲区为空

ios - 无法为 IOS 设置 VLCKit

ios - 如果我使用Firebase Cloud Messaging,是否需要更改Apple Push Notification设置?

iphone - 如何在 iOS 上使用基于地理的推送通知?