ios私钥和证书不配对
我似乎无法让我的证书和私钥在钥匙串访问中配对。它们都分别在钥匙串中。我已采取的步骤:
清除钥匙串中的所有内容 导入 .p12 私钥文件(警告我无法读取该项目的内容) 使用此密钥生成证书请求(我已经尝试了多个不同的电子邮件 - 这重要吗?) 将请求上传到配置文件 在 xcode 中的 Organizer 下刷新配置文件,生成团队配置文件 - 这表示找不到有效的私钥/证书对
我过去已经成功创建了多个证书+配置文件,但这似乎正在进行一场斗争。
此特定密钥用于我的旧团队配置文件,但证书已过期,因此我尝试创建新证书。
谢谢
I cannot seem to ge my certificate and private key to pair up in keychain access. They are both in keychain separately. Steps I have taken:
Clear everything from keychain
Import .p12 private key file (gives me warning saying contents of this item cannot be read)
Generate certificate request using this key (I have tried severally different emails - is this important?)
Upload request to provisioning profile
Refresh provisioning profiles under organizer in xcode which generates a team provisioning profile - this says cannot find valid private-key/certificate pair
I have created several certificates + provisioning profiles successfully in the past but this one seems to be putting up a fight.
This particular key was used for my old team provisioning profile but the certificate expired so I am trying to create a new certificate.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了提交请求的替代方法:
在配置中心撤销证书,从 xcode 中删除配置文件。然后在 xcode 中的管理器中点击刷新,xcode 将为您提交请求并执行其操作。
我还丢失了它生成的钥匙串中的公钥。
I found an alternative way of submitting requests:
Revoke certificates in provisioning centre, delete profile from xcode. Then hit refresh in organizer in xcode, xcode will submit the request for you and do its stuff.
I was also missing a public key from the keychain which it generated.