什么是“身份字符串”?我的证书(mac + codesign 实用程序)?

发布于 2024-09-15 11:50:45 字数 385 浏览 3 评论 0原文

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

场景如下:我有一个安装程序 (.pkg),我的老板希望我对其进行签名。我有 Thawte 颁发的证书;我已将其导入钥匙串程序(并将其设置为对所有内容都可信)。在软件包制造商的配置选项卡下,有一个标签写着“证书”,紧挨着它的另一个标签写着“不支持”。嗯,太好了。

所以,协同设计;说它无法签署 .pkgs,但可以签署 .dmgs...但我必须给它一个标识符字符串,以便它可以从钥匙串中提取我的证书。但在搜索钥匙串程序时,我在任何地方都没有看到称为“身份”或“标识符”或类似内容的字段。

我对此感到非常愚蠢;我已经在这几个小时了,谷歌已经产生了许多有用的东西,但它们都没有解释我在哪里找到“标识符”字符串:P

任何帮助将不胜感激。

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

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.

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.

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

Any help would be much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

九厘米的零° 2024-09-22 11:50:45

该标识符是您证书中的“通用名称”。请参考操作系统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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文