Zach Adams Web Developer and Programmer

PHPStorm Allow Network Connections on Startup Fix

March 9, 2015

PHPStormPHPStorm has an annoying bug in OS X where it always asks for permission to connect to the network on every startup. This got on my nerves so I researched and found out how to fix it:

Step 1: Make a Self-Signing Certificate for PHPStorm

  1. Open Keychain Access and from the main menu open “Certificate Assistant” then click on “Create a Certificate”
  2. Fill out the follow:
    1. Name: PHPStorm (or whatever, just be sure to remember it)
    2. Identity: Self-Signed Root
    3. Certificate Type: Code Signing
    4. Leave the checkbox unchecked
  3. Click save then “Continue”

Step 2: Assign the Certificate to PHPStorm

  1. Open your terminal and enter the following where “PHPStorm” is the name of the Certificate you just created and the correct location for PHPStorm.app
codesign -s "PHPStorm" -f /Applications/PhpStorm.app/

It will ask you to verify the assignment so just click “Allow”. Now restart PHPStorm and it will ask you one last time to verify the incoming network connections, and after that it shouldn’t ask you again!

Comments

Sascha says:
April 9th 2015 at 12:00am
Thank you! Working like a charm and PhpStorm is also starting faster now.
leoncio says:
May 14th 2015 at 12:00am
Awesome. Thanks a lot! Working on PhpStorm always had this little annoyance as well here..
Steph says:
July 10th 2015 at 12:00am
Thanks a lot for this tutorial! Steph
Daniel C. says:
June 5th 2016 at 12:00am
Thank you for this solution. Works with WebStorm too.

Leave a Reply

Your email address will not be published. Required fields are marked *