Wednesday, April 9, 2014

Update your OpenSSL on Mac Mavericks

Before beginning check your current version of OpenSSL by opening a terminal and typing:

openssl version
You should get back the following if you have not updated OpenSSL since installing Mavericks:
OpenSSL 0.9.8y 5 Feb 2013
STEP 1: Download the Source Code from the OpenSSL website (http://www.openssl.org/source/). STEP 2: In your Terminal cd to ~/Downloads:
cd ~/Downloads
STEP 3: Configure the build by typing
./configure darwin64-x86_64-cc
STEP 4: Type
make
STEP 5 (make sure): Test that everything was created correctly:
make test
STEP 6: Install the newly built OpenSSL:
sudo make install
(Type password when prompted) STEP 7: cd to the directory where the old openssl is installed:
cd /usr/bin
STEP 8: Rename the old openssl file to another name so that you can go back to it if you need to:
sudo mv openssl opensslOld
STEP 9: Create a link to the new openssl file
sudo ln -s /usr/local/ssl/bin/openssl openssl
STEP 10: Test that everything worked by typing:
openssl version
If it all worked you should now see OpenSSL 1.0.0c 2 Dec 2010

No comments:

Post a Comment