Code signing question

Edward J. Stembler ejstembler at ejse.com
Tue Dec 18 10:56:56 PST 2007


I want to code sign a test app CodeSignTest.app and I'm not sure what  
I'm doing wrong.

I was successfully able to import my company's Authenticode  
certificate (issued by VeriSign) into the System keychain.  I set it  
to "Always Trust" for code signing.

When using the codesign command-line in Terminal, I'm not sure what to  
enter as the identity for the -s flag.  Is it supposed to be the  
certificate common name?  The common name of this certificate is  
actually the name of my company.  I've tried several combinations of:

codesign -s "MyCompany, Inc." CodeSignTest.app
MyCompany, Inc.:  no such identity

I've tried it without the quotes and even with a backslash before the  
space, but none worked.  Anyone have any idea what I'm doing wrong?


More information about the MacOSX-dev mailing list