发生了错误。无法导入项目。无法检索此项目的内容。缺少.pem文件! [英] An error has occurred. Unable to import an item. The contents of this item cannot be retrieved. Missing .pem file!

查看:368
本文介绍了发生了错误。无法导入项目。无法检索此项目的内容。缺少.pem文件!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个问题。我将p12证书安装到MacBookPro中然后将其删除,现在当我再次尝试安装它时,钥匙串根本就不接受证书。

I am struck with a problem. I installed the p12 certificates once into a MacBookPro and then deleted it, now when I am again trying to install it keychain is simply not accepting the certificate for strange reason.

之后一些谷歌搜索,我点击这个链接:
http://www.openradar.me/7092640

After some googling, I hit upon this link: http://www.openradar.me/7092640

这清楚地表明Keychain存在一个错误,并说明了解决方法。但不幸的是我没有.pem文件,因为我没有备份它认为p12文件就足够了(实际上,如果没有这个bug!)。那么如何获取.pem文件以便我可以使用此解决方法将证书重新安装到同一台笔记本电脑上?

Which clearly says that there is a bug with Keychain and states a workaround too. But unfortunately I do not have the .pem file, since I have not made a backup of it thinking that p12 file is sufficient (which actually is, if not for this bug!). So how do I get the .pem file so that I can install the certificates back onto the same laptop using this workaround?

感谢您提出任何建议/想法。
Raj

Thanks for any suggestions / ideas. Raj

推荐答案

当您申请证书时,您的Mac会创建一个公共/私人对,用于下载来自Apple的证书。这就是为什么你不能从另一台没有原始对的Mac下载结果证书的原因。

When you request a certificate, your Mac creates a public/private pair that will be used to download the certificate from Apple. This is why you can't download the resulting certificate from another Mac that doesn't have the original pair.

如果你删除了原来的一对,你必须重新先导入它。如果你没有这两半的一半,你可能已经从头开始申请新的证书。

If you deleted the original pair, you have to re-import it first. If you don't have both halves of the pair, you may have request a new certificate from scratch.

如果你有原件,它将不会导入它们登录密钥链,您可以尝试创建一个新的钥匙串,以便在具有KeyChain Access实用程序的帐户中使用。如果它导入信息,只要您将新的钥匙串打开,Mac就应该能够找到它。

If you have the originals and it won't import them to the login keychain, you might try creating a new keychain to use in the account with the "KeyChain Access" utility. If it imports the information, the Mac should be able to find it as long as you leave the new keychain open.

这篇关于发生了错误。无法导入项目。无法检索此项目的内容。缺少.pem文件!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆