In this post I am going to tell you the steps to upgrade OpenSSL in Ubuntu 14.04 LTS x64.
Caution: Please make sure you have a complete backup of your current Ubuntu system before performing these steps.
- By default Ubuntu 14.04 LTS comes with OpenSSL version 1.0.1j 15 Oct 2014. You can check this by typing the command “openssl version“.
- Install the build essential and check install packages by typing “sudo apt-get install checkinstall build-essential“.
- Download the OpenSSL version from the link. I downloaded the version 1.0.1u and extracted the files from tar.
- Run command “sudo ./config“.
- Then “sudo make“.
- Followed by “sudo make install“. This will install the OpenSSL in the “/usr/local/ssl“.
- Now go to “/usr/bin” directory and change the openssl name by typing “sudo mv openssl openssl_ORIG“
- Next type command “sudo ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl/” which will create a symbolic link of the latest openssl binary.
- Reboot you’re Ubuntu.
- Now when you type the “openssl version” command you should get the latest version of OpenSSL; in this case it should be 1.0.1u.