xcode 无法撤销 Mac 证书
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25005194/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Unable to revoke Mac Certificates
提问by pjg
I was having some code signing problems and in a rash decision I decided to delete all my certificates and private keys and to start over. I read and understood that this would mean a lot of work to set things up again, but I didn't think this would create an irreversible situation:
我遇到了一些代码签名问题,我草率地决定删除所有证书和私钥,然后重新开始。我阅读并理解这意味着需要大量工作才能重新设置,但我不认为这会造成不可逆转的情况:
I have 10 un-revokable Developer ID certificates: 5 Developer ID Application certificates and 5 Developer ID Installer certificates, with different expiration dates (2017 to 2019).
If I click the + button to add a certificate the radio button for Developer ID is unselectable (grayed out).
我有 10 个不可撤销的开发者 ID 证书:5 个开发者 ID 应用程序证书和 5 个开发者 ID 安装程序证书,具有不同的到期日期(2017 年到 2019 年)。
如果我单击 + 按钮添加证书,则开发人员 ID 的单选按钮不可选择(变灰)。
So, my problem is that I don't have the private key for these certificates, I can't revoke them, and I can't create new Developer ID certificates. One other thing: I'm the only member of the team.
所以,我的问题是我没有这些证书的私钥,我无法撤销它们,也无法创建新的 Developer ID 证书。另一件事:我是团队中唯一的成员。
I called Apple Developer Support and they weren't sure how to fix this. They said they'd have to get back to me.
我打电话给 Apple Developer Support,他们不知道如何解决这个问题。他们说他们必须回到我身边。
Anyone else have any suggestions?
还有其他人有什么建议吗?
Thanks
谢谢
Philip
菲利普
采纳答案by pjg
Okay, in case anyone else missed this in the App Distribution Guide here's what I found:
好的,如果其他人在 App Distribution Guide 中错过了这个,我发现了以下内容:
You can't revoke Developer ID or Passbook certificates using Member Center. Instead, send a request to Apple at [email protected] to revoke these types of certificates. If Apple revokes your Developer ID certificate, users can no longer install applications that have been signed with that certificate. Instead of revoking a Developer ID certificate, you can create additional Developer ID certificates using Member Center as described in “Requesting Additional Developer ID Certificates.
您不能使用会员中心撤销 Developer ID 或 Passbook 证书。相反,请通过 [email protected] 向 Apple 发送请求以撤销这些类型的证书。如果 Apple 吊销您的 Developer ID 证书,用户将无法再安装已使用该证书签名的应用程序。您可以使用会员中心创建额外的开发者 ID 证书,而不是撤销开发者 ID 证书,如“申请额外的开发者 ID 证书”中所述。
I didn't realize 5 Developer ID Application and 5 Developer ID Installer certificates were the limit. Hopefully, Apple will revoke them for me.
我没有意识到 5 个开发人员 ID 应用程序和 5 个开发人员 ID 安装程序证书是限制。希望Apple会为我撤销它们。
回答by Aidan
I got some extra certificates also (5). It took about two weeks and various emails to and back from Apple support, but I got them in the end.
我还获得了一些额外的证书(5)。花了大约两周的时间和来自 Apple 支持人员的各种电子邮件,但我最终收到了它们。
Its very important when creating your new certificate using KeyChain to immediately backup the private and public keys that are created with your name when you do the "Request a Certificate from a Certificate Authority" stage within the KeyChain app. This will enable you (hopefully anyways) to re-use your developer id certificates when you change machine.
当您在 KeyChain 应用程序中执行“从证书颁发机构请求证书”阶段时,使用 KeyChain 创建新证书时立即备份以您的名字创建的私钥和公钥非常重要。这将使您(希望无论如何)在更换机器时重新使用您的开发人员 ID 证书。
I deleted all private and public keys in my name (again using the KeyChain app) prior to doing this step so to reduce confusion but that may not be necessary and might even be unadvisable.
在执行此步骤之前,我删除了我名下的所有私钥和公钥(再次使用 KeyChain 应用程序),以减少混淆,但这可能没有必要,甚至可能是不可取的。