Skip to content

Instantly share code, notes, and snippets.

@baseboxorg
Forked from kirang89/openssl_on_osx.md
Last active August 29, 2015 14:06
Show Gist options
  • Save baseboxorg/04e0be30f8a76844b3cf to your computer and use it in GitHub Desktop.
Save baseboxorg/04e0be30f8a76844b3cf to your computer and use it in GitHub Desktop.

First execute the following commands to install openssl on OSX using Homebrew:

brew update
brew install openssl
brew link --force openssl
openssl version -a

If the new version has not been applied successfully, create a symlink to solve the problem. To do that, we need to figure out the location of openssl using

which openssl

(It's mostly at /usr/bin/openssl)

Next, replace with a symlink to the location of the new version (mine's /usr/local/Cellar/openssl/1.0.1h/bin/openssl)

sudo rm /usr/bin/openssl
sudo ln -s /usr/local/Cellar/openssl/1.0.1h/bin/openssl /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment