APNS:如果使用 Auth Key,是否需要 APNS 证书?

APNS: is APNS certificate needed if Auth Key using?

我支持一个移动应用程序。最近我收到了 "apns production certificate will expiring soon" 的电子邮件。之后我检查了我的后端,发现没有任何证书在使用,只有授权密钥。据我所知,授权密钥没有过期密钥。我想 apns-cert 在启动后第一次使用,或者可能是错误创建但现在没有使用。所以我有几个问题:

1) 对于运行良好的 APNS,我应该只有授权密钥而没有 APNS 证书吗? (我的想法是——我可以在不伤害当前 APNS 的情况下安全地删除证书吗)?

2) 例如,如果我没有在生产中使用的 APNS 证书 - 我仍然会在我的电子邮件中收到一些通知 - 比如 "this certificate will expiring soon"?

提前致谢。

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 证书。它们与授权密钥无关。

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