Community Forums
Page 1 of 2 12 LastLast
Results 1 to 5 of 7

Thread: Mac OS code sign not working

  1. #1
    Join Date
    Nov 2013
    Location
    Redlands, CA
    Posts
    4

    Angry Mac OS code sign not working

    I have IA 2012 SP1 installed on my Mac running OS X 10.8.4. I have both Developer ID Application and Developer ID Installer certificates imported in Keychain Access. In the project, the Code Signing option is enabled and both properties (PKCS #12 File and Keystore Password) populated. The problem is after downloading from a test site (IIS for example), it throws the error message below when GateKeeper is set to allow applications downloaded from Mac App Store and identified developers.

    "install" is damaged and can't be opened. You should move it to the Trash

    Am I missing something here? I thought the purpose of using this option is for the installer to pass this check from GateKeeper as the certificate is coming from an identified developer?

    Has anyone successfully use this option? Any help will be great.

    Thank you in advance.

    Jino

  2. #2
    Join Date
    Dec 2012
    Posts
    28
    Hi,

    Try to build a simple basic project in IA 2012 SP1 and code sign it using your PKCS #12 File and Keystore Password.
    Take the installer to your IIS Server and download it from your Mac machine.

    Try the above and let me know.

    Regards,
    Utsab Karmakar

  3. #3
    Join Date
    Nov 2013
    Location
    Redlands, CA
    Posts
    4
    Hi Utsab,

    I did create a simple project (contains only one file) and was still encountering the same behavior when I download it. Could it be my certificate? I used a Developer ID Installer certificate on this test setup.

    Were you able to code sign your installer successfully? If so, which certificate did you use?

    Jino

  4. #4
    Join Date
    Dec 2012
    Posts
    28
    Hi Jino,

    You can do one thing, add your Developer ID Certificate to Keychain Access on Mac. Then select your Developer ID Certificate from Keychain Access, right click and Export your Certificate as .p12 format.

    Now use this .p12 Certificate in IA to codesign the installers.

    Let me know if it helps.

    Regards,
    Utsab Karmakar

  5. #5
    Join Date
    Nov 2013
    Location
    Redlands, CA
    Posts
    4
    Hi Utsab,

    I also did that and got the same result.

    By the way, I checked the signature using this command:

    $ codesign -dvvv <path_to_the_app>/install.app

    ... and it returned this error:

    "invalid or unsupported format for signature"

    Not sure what caused it: Is it IA 2012 SP1 or the certificate I am using?

    Thanks,

    Jino

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •