First of all, you need ‘brew’ (http://brew.sh/) $ brew update $ brew install openssl $ brew link --force openssl $openssl version -a If it’s still the old version, you shoud: $ sudo rm /usr/bin/openssl #remove the old binary $ sudo ln -s /usr/local/Cellar/openssl/1.0.1h/bin/openssl /usr/local/bin (1.0.1h -> the latest version) ref: http://apple.stackexchange.com/questions/126830/how-to-upgrade-openssl-in-os-x

Continue reading

Easy way: Below the single command line to compiling and install the last openssl version. $ curl https://www.openssl.org/source/openssl-1.0.1h.tar.gz | tar xz && cd openssl-1.0.1h && sudo ./config && sudo make && sudo make install Replace old openssl binary file by the new one via a symlink. $ sudo ln -sf /usr/local/ssl/bin/openssl `which openssl` how to check version: $ openssl version -b built on: Mon Apr 7 20:33:29 UTC 2014 $ openssl version -a OpenSSL 1.

Continue reading

Author's picture

kerkerj

Cat lover <3

Backend Engineer

Taiwan