Last active
August 29, 2015 14:09
-
-
Save breenie/e927751882f6f834bd3b to your computer and use it in GitHub Desktop.
Self sign PHPStorm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Lifted from http://systemterror.com/2012/11/self-signing-osx-applications/ with the addition of --deep | |
| # Open Keychain Access and from the menu select Keychain Access > Certificate Assistant > Create a Certificate | |
| # Name: fill in any name you like, e.g. "MyCodesign" | |
| # Identity Type: Self Signed Root | |
| # Certificate Type: Code Signing | |
| codesign --deep -s "MyCodesign" -f /Applications/PhpStorm.app/ | |
| # Check signing | |
| codesign -vvv /Applications/PhpStorm.app/ | |
| # --prepared:/Applications/PhpStorm.app/Contents/build.txt | |
| # --validated:/Applications/PhpStorm.app/Contents/build.txt | |
| # --prepared:/Applications/PhpStorm.app/Contents/MacOS/idea_appLauncher | |
| # --validated:/Applications/PhpStorm.app/Contents/MacOS/idea_appLauncher | |
| # /Applications/PhpStorm.app/: valid on disk | |
| # /Applications/PhpStorm.app/: satisfies its Designated Requirement | |
| # Boom! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment