将私钥添加到证书,反之亦然
问题是,我想为新应用程序创建一个新的私钥/公钥对。
所以我遵循了文档(http://developer.apple.com/ios /manage/certificates/team/howto.action),它说首先创建一个新的密钥对。
好的,我得到了一个证书签名请求文件,我必须将其上传到开发人员主页(证书>开发)。 在那里我发现,(并且因为)我们已经在应用程序商店中拥有了一个应用程序,所以已经有了一个证书。所以我下载了现有的并在查找器中双击它。钥匙串打开,但没有将证书附加到新创建的私钥(正如我所预期的)。
我做错了什么?我需要做什么才能激活该密钥对?
有人可以帮助我解决这个问题吗?
谢谢 溴 尼克
the problem is, that I want to create a new private/public key pair for a new App.
So i followed the documentation (http://developer.apple.com/ios/manage/certificates/team/howto.action) and it said to first created a new key pair.
Ok, than i got a certificate signing request file, which i had to upload to the developer homepage (Certificate > Developement).
There I found out, that (and because) we allready have an app in the appstore, there is allready a certificate. So i downloaded the existing one and doubleclicked it in the finder. The keychain opended, but didn't append the certificate to the newly created private key (as i expacted).
What did I do wrong? What do i have to do, to activate this key pair?
Can someone help me in this issue?
Thanks
Br
Nic
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
每个证书都会有一个公钥和私钥。另外,如果您谈论的是开发者证书,则每个开发者帐户只能拥有一个证书。
你从苹果网站下载的只是你的公钥。您需要私钥来签署应用程序。您的私钥将位于您生成 CSR 的计算机中。
检查 http: 中的“保存私钥并传输到其他系统”部分: //developer.apple.com/ios/manage/certificates/team/howto.action 了解如何从该计算机导出私钥并在另一台计算机中使用它。
如果您无法获得生成 CSR 的计算机,则可以撤销现有的计算机并生成新的计算机。但请记住,这将使从此证书生成的现有配置文件无效。
Every certificate will have a public and private key. And also if you are talking about the developer certificate, every developer account can have only one certificate.
What you get to download from the apple website is only your public key. You need the private key to sign the apps. Your private key will be in the machine where you generated the CSR.
Check the "Saving your Private Key and Transferring to other Systems" section in http://developer.apple.com/ios/manage/certificates/team/howto.action to find out how to export your private key from that machine and use it in a different machine.
If you cannt get the machine where you generated the CSR, then you can revoke the existing one and generate a new one. But remember that this will make the existing profiles generated from this certificate invalid.
我遇到了同样的问题,我必须删除所有配置文件和现有证书,然后按照本文中的分步说明进行操作:
创建您的签名证书 由 Apple 提供经过几个小时的敲头之后,我在 5 分钟内就可以启动并运行了!
I was having the same problem and I had to delete all my provisioning profiles and existing certificates and then I followed the step-by-step instructions from this article:
Creating Your Signing Certificates by Apple and it had me up and running in 5 minutes after hours of banging my head!