codesign
Create and manipulate code signatures for macOS. More information: https://www.unix.com/man-page/osx/1/codesign/.
-
Sign an application with a certificate:
codesign --sign "{{My Company Name}}" {{path/to/application_file.app}}
-
Verify the certificate of an application:
codesign --verify {{path/to/application_file.app}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.