什么是“身份字符串”的我的证书(mac + codesign实用程序)? [英] What is the "identity string" of my certificate (mac + codesign utility)?

查看:936
本文介绍了什么是“身份字符串”的我的证书(mac + codesign实用程序)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我马上就说:我不知道我在这里干什么。我不是Mac开发人员。

I'm gonna say this right away: I have no idea what I'm doing here. I am not a mac developer.

这里是场景:我有一个安装程序(.pkg),我的老板想让我签名。我有一个证书,由Thawte发行;我已经导入到钥匙串程序(并将其设置为可信任的一切)。在包装制造商中,在配置选项卡下,有一个标签说证书,直接旁边的另一个不支持。太好了。

Here's the scenario: I have an installer (.pkg) that my boss wants me to sign. I have a certificate, issued by Thawte; which I've imported into the keychain program (and set it to be trusted for everything). In package maker, under the configuration tab, there is a label that says "Certificate", and directly next to it another that reads "not supported". Well, great.

所以,codesign;说它不能签署.pkgs,但可以签署.dmgs ...但我必须给它一个标识符字符串,以便它可以从钥匙串拉我的证书。但我看不到一个字段名为身份或标识符或任何类似的东西,当冲刷keychain程序。

So, codesign; says it can't sign .pkgs, but can sign .dmgs... but I have to give it an identifier string so it can pull my certificate from the keychain. But I see in no place a field called "identity" or "identifier" or anything of the like when scouring the keychain program.

我觉得真的很蠢;我已经在这个几个小时,谷歌已经产生了一些有用的东西,但没有一个解释我在哪里找到标识符字符串:P

I feel really dumb about this; I've been at this for a few hours, google has yielded a number of useful things, but none of them explain where I find the "identifier" string :P

推荐答案

标识符是您的证书的通用名称。请参阅操作系统X代码签名 Apple的代码签入部

The identifier is the "Common Name" from your certificate. Please refer to OS X code signing or Apple's Code Signing In Dept

这篇关于什么是“身份字符串”的我的证书(mac + codesign实用程序)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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