What is the “identity string” of my certificate (mac + codesign utility)?

混江龙づ霸主 提交于 2019-12-11 19:47:16

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/3523487/what-is-the-identity-string-of-my-certificate-mac-codesign-utility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!