xcode XCode的“登录”和“系统”中的证书区别

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6227770/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 21:11:49  来源:igfitidea点击:

Diference between Certificates in "Login" and "System" for XCode

xcodecertificatekeychainosx-leopard

提问by Rodrigo

I try to found answer for this stupid question, but didn't find it. I am having the error CSSMERR_TP_NOT_TRUSTED and I am trying to fix it.

我试图找到这个愚蠢问题的答案,但没有找到。我遇到错误 CSSMERR_TP_NOT_TRUSTED,我正在尝试修复它。

My question is: What difference make put a "Certificates"in "Login"or in "System"in the "KeyChains"tab of "KeyChains Access"program? Is a good idea copy and paste all certificates in this 2 places?

我的问题是:在“KeyChains Access”程序的“KeyChains”选项卡中的“Login”“System”中放置“Certificates”有什么区别?在这两个地方复制并粘贴所有证书是个好主意吗?

Say things like: Certificates in Login is for use in login, and in system for system isn't the answer. :)

说这样的话:登录中的证书用于登录,而在系统中用于系统不是答案。:)

回答by Staros

The System keychain is for System wide items. So if you were to have an identity for you laptop, that would be in your System keychain. Every user has access to it as well, so it's a good place for things like SSL certificates. It also takes admin credentials modify it.

系统钥匙串用于系统范围的项目。因此,如果您要为您的笔记本电脑设置一个身份,那将在您的系统钥匙串中。每个用户也都可以访问它,因此它是 SSL 证书之类的好地方。它还需要管理员凭据来修改它。

On the flip side, you are the only person who can access your login keychain. It's actually locked with your account password. This is where your Apple Developer certificates should go. They are specific to you and identify a person, not a machine. Another big plus is that applications can request access to it without having admin credentials.

另一方面,您是唯一可以访问您的登录钥匙串的人。它实际上是用您的帐户密码锁定的。这是您的 Apple 开发人员证书应该去的地方。它们特定于您,用于识别人,而不是机器。另一个很大的好处是应用程序可以在没有管理员凭据的情况下请求访问它。