推送服务证书未出现在"我的证书"

时间:2015-05-19 20:49:49

标签: ios xcode certificate apple-push-notifications

我已按照以下所述配置推送通知的所有说明:https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringPushNotifications/ConfiguringPushNotifications.html

当我到最后一部分:在服务器上安装客户端SSL签名身份时,IOS推送服务证书仅出现在证书中,而不出现在"我的证书"。

我已尝试复制/粘贴并导入/导出到"我的证书"并且无法让它出现在那里以便导出.p12文件。

在xcode和我的开发者帐户中一切都很好看,所以我很难过......任何帮助都会非常感激!

5 个答案:

答案 0 :(得分:3)

这可能是因为证书已添加到系统密钥链中。而不是双击并添加它,将其拖放到“登录”下。你可以在那之后导出它

答案 1 :(得分:3)

当我回来使用推送证书(创建.p12)时,我遇到了这个问题,我已经创建了一段时间后而且它不会出现。

我开始意识到 -

  • 我的系统上没有最初用于创建它的匹配私钥。你可以告诉它,因为钥匙串中证书旁边的箭头没有显示,因为它无法与所需的私钥匹配。

enter image description here

从头开始重新创建证书解决了这个问题。

答案 2 :(得分:2)

I fixed same issue by just dragging .cer file into keychain window when it showed list of my certificates. When I double clicked this file then keychain imported certificate into system certificates.

So you'll need to remove certificate from system, select "my certificates" in sidebar and drag .cer file into list of certificates

答案 3 :(得分:0)

我能够通过撤销我当前的许可证并生成一个新许可证来解决这个问题(Chrome浏览器中的Apple开发者网站存在一些问题,因此切换到Safari ...不确定这是否有帮助)。仍然不确定是什么导致问题开始...

答案 4 :(得分:0)

由于这些答案不能完全解决我的问题,因此我还将在这次讨论中添加我的经验。就我而言,中级证书已从我的系统中删除。

要解决此问题,请打开Apple Developer Console,然后在“所有证书”下选择创建新证书。在下一个屏幕的底部,您将看到中级证书的下载链接。安装后,将.cer文件拖到“钥匙串”中,新证书正确显示在“我的证书”下。从那里,我能够导出受密码保护的.p12文件。

Intermediate Certificate download button

相关问题