title: installing openssl on OS X
body: <p>I was getting <code>"certificate verify failed (OpenSSL::SSL::SSLError)"</code> in my ruby app and decided it was time to update the old openssl on my Mac OS X (Mountain Lion) system.</p>
  
  <p>I grabbed the latest sources from <a href="http://openssl.org/">here</a> and did the usual</p>
  
  <ul>
  <li>./Configure darwin64-x86_64-cc</li>
  <li>make</li>
  <li>make test</li>
  <li>sudo make install</li>
  </ul>
  
  <p>... and everything completed without apparent error.  But I notice that the new openssl has not replaced the old openssl:</p>
  
  <pre><code>$ which openssl
  /usr/bin/openssl
  $ /usr/bin/openssl version
  OpenSSL 0.9.8x 10 May 2012
  $ /usr/local/ssl/bin/openssl version
  OpenSSL 1.0.1e 11 Feb 2013
  </code></pre>
  
  <p>I'm hesitant to mess around with important system files for fear of breaking existing things.  What's the recommended approach?  I'm thinking of replacing /usr/bin/openssl with a symlink to the /usr/local/ssl/bin version.  Would that work?</p>