推送通知证书P12文件
推送证书 P12 文件包含什么——私钥还是公钥?任何有关此的细节都会有所帮助。
What does a Push Certificate P12 file contains -- Private or Public key? Any detail on this will help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它必须包含公钥和私钥才能使推送通知发挥作用。
在服务器上安装 SSL 证书和密钥
It must contain both public and private key for push notifications to work.
Installing the SSL Certificate and Key on the Server
这取决于您如何从钥匙串导出它。它自己的证书是公钥。如果您从钥匙串导出证书+私钥,则 .p12 将包含它们。
It depends from how you exported it from keychain. Certificate by it's own is public key. If you exported from Keychain both Certificate+private key, than .p12 will contain them both.
你需要它是一个 pem 文件才能工作。应该有一些脚本可以将 p12 文件转换为 pem 文件。
you will need it to be a pem file for it to work.. the should be some scripts out there to convert p12 files to pem files.