在“钥匙串访问"中生成证书签名请求:使用哪个私钥? [英] Generating certificate signing request in Keychain Access: which private key is used?

查看:126
本文介绍了在“钥匙串访问"中生成证书签名请求:使用哪个私钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道Mac OS X(Snow Leopard,现在是Lion)中使用哪种私钥钥匙串访问".每当我使用该应用程序创建CSR时,它甚至都不会要求使用私钥.那么,它使用哪一个呢?

I am wondering which private key Keychain Access in Mac OS X (Snow Leopard, now Lion) uses. Whenever I create a CSR using that app, it does not even ask for a private key to use. So which one does it use then?

我可以想象它使用了选定的一个,如果您在证书列表中选择了一个.但是,即使根本没有选择任何内容,或者即使选择的项目不是私钥,也要确保它不是不可见的"选择,生成请求甚至可以工作.

I could imagine that it used the selected one, if you've selected one in your certificate list. But generating the request even works when nothing is selected at all or, making sure it's not an "invisible" selection, if the item that's selected is not a private key.

有人知道吗?

预先感谢

Arne

推荐答案

在钥匙串访问"中创建CSR时,它将生成一个新的公共/私有密钥对.密钥的名称将是您在生成CSR时在通用名称"字段中输入的名称.

It generates a new public/private keypair when you create a CSR in Keychain Access. The name of the key will be what you entered in the "Common Name" field when generating the CSR.

如果您想根据现有密钥生成新的CSR,我不认为这完全可以在Keychain Access中完成.有关如何通过钥匙串访问和OpenSSL进行操作的信息,请参见

If you would like to generate a new CSR from an existing key, I do not believe this can be done entirely within Keychain Access. For how to do it with Keychain Access and OpenSSL, see How can I use an existing private key to a new iOS development certificate?

这篇关于在“钥匙串访问"中生成证书签名请求:使用哪个私钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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