• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get Mac codesign certificate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get Mac codesign certificate?


  • Subject: Re: How to get Mac codesign certificate?
  • From: Kurt Revis <email@hidden>
  • Date: Sat, 17 Mar 2012 12:23:39 -0700

The SMJobBless example code has a ReadMe.txt file that explains how to make a self-signed certificate, and how to set up the project to use it.  It worked correctly when I tried it.

https://developer.apple.com/library/mac/#samplecode/SMJobBless/Listings/ReadMe_txt.html

> You can get a self-signed code signing identity using these steps:
>
> 1. Launch Keychain Access.
> 2. Select Keychain Access > Certificate Assistant > Create a Certificate...
> 3. In the Name field, enter "Joe Developer".
> 4. Change Certificate Type to "Code Signing".
> 5. Press Continue.
> 6. You're done!
>
> If you use a signing identity with a different Common Name (CN), you will need to change the CN in four places:
>
> o The Code Signing Identity build setting in the target SMJobBlessApp
> o The Code Signing Identity build setting in the target com.apple.bsd.SMJobBlessHelper
> o The SMPrivilegedExecutables property in SMJobBlessApp-Info.plist
> o The SMAuthorizedClients property in SMJobBlessHelper-Info.plist
>
> Once you have your code signing identity set up and the project configured to refer to the desired code signing identity, you should be able to just choose Build from the Build menu.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: There's obviously something I don't understand about autorelease.
  • Next by Date: Re: There's obviously something I don't understand about autorelease.
  • Previous by thread: Re: How to get Mac codesign certificate?
  • Next by thread: Re: How to get Mac codesign certificate?
  • Index(es):
    • Date
    • Thread