简体   繁体   English

ios私钥和证书不配对

[英]ios private key and certificate not pairing

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 从钥匙串导入.p12私钥文件中清除所有内容(给我警告,说明无法读取此项目的内容)使用此密钥生成证书请求(我尝试了几个不同的电子邮件 - 这很重要吗?)上传请求到配置文件刷新配置文件在xcode中的组织者下生成团队配置文件 - 这表示无法找到有效的私钥/证书对

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 谢谢

I found an alternative way of submitting requests: 我找到了另一种提交请求的方法:

Revoke certificates in provisioning centre, delete profile from xcode. 撤消配置中心的证书,从xcode删除配置文件。 Then hit refresh in organizer in xcode, xcode will submit the request for you and do its stuff. 然后在xcode的组织者中点击刷新,xcode将为您提交请求并执行其操作。

I was also missing a public key from the keychain which it generated. 我也错过了它生成的钥匙串的公钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM