MAC Create certificate (to create GDB certificate for example)

Source: Internet
Author: User

Open/applications/utilities/keychain\ access.app/

Open Keychain Access

Keep going.

The creation is complete.

Now the We have a certificate and we need to use it to sign GDB. First, we ' ll restart the taskgatedprocess to make sure it picks up the new certificate. Quit Keychain Access (you must quit Keychain access!) and return to the Terminal for these final commands.

Find the taskgated process.

$ PS - e | grep taskgated

The first number in the above output is the PID. Use this to kill the process (it'll immediately restart itself).

Now the can finally code sign GDB.

# Homebrew version
$ codesign -S Gdb-cert $(which gdb)   

Now you should is all set! The OS X Keychain may ask for your password the first time you attempt to debug a program, but it should work!

MAC Create certificate (to create GDB certificate for example)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.