<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>The problem: Keystone authentication on MAC works from command line, but fails when run from PyCharm. And I want to run PyCharm to debug! </div><div><br></div><div>The root cause: Keystone uses openssl cms which is only available in new openssl. I installed openssl via brew, and got it in /usr/local/bin. Terminal works just fine because I have paths properly setup in /etc/paths file. But PyCharm and other non-terminal applications dont use it! </div><div> </div><div>The right solution: </div><div> create a file /etc/launchd.conf with the following line:</div><div> <span style="background-color: rgb(19, 119, 62); color: rgb(255, 240, 165); font-family: Courier;">setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin</span></div><div><font color="#666666" face="Lucida Grande, Lucida Sans Unicode, Helvetica, Arial, Verdana, sans-serif"><b> </b></font></div><div>The hack solution is:</div><div> sudo mv /usr/bin/openssl /usr/bin/openssl_bak</div><div> sudo ln -s /usr/bin/local/openssl /usr/bin/openssl</div><div><br></div><div>DZ> </div><div><br></div><div><br></div></body></html>