推送通知证书P12文件

发布于 2024-11-28 17:11:59 字数 46 浏览 4 评论 0原文

推送证书 P12 文件包含什么——私钥还是公钥?任何有关此的细节都会有所帮助。

What does a Push Certificate P12 file contains -- Private or Public key? Any detail on this will help.

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

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

发布评论

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

评论(3

咆哮 2024-12-05 17:11:59

它必须包含公钥和私钥才能使推送通知发挥作用。

在服务器上安装 SSL 证书和密钥

It must contain both public and private key for push notifications to work.

Installing the SSL Certificate and Key on the Server

晒暮凉 2024-12-05 17:11:59

这取决于您如何从钥匙串导出它。它自己的证书是公钥。如果您从钥匙串导出证书+私钥,则 .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.

国粹 2024-12-05 17:11:59

你需要它是一个 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.

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