Upgrading Openssl for Apache on Ubuntu 15.04
I had to upgrade from openssl 1.0.1f to openssl 1.0.2u on Ubuntu 15.04 . Download OpenSSL The solution is to install openssl from source, by doing this we can always have the version that we need. To download it type the following command. cd /usr/local/src/ sudo wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz After successfully downloading the source code and installing the required dependency packages, proceed to extract the downloaded file using the command below. Ensure that you are in the directory where the file was downloaded. sudo tar -xf openssl-1.0.2u.tar.gz Compile and Install Next, we’ll install OpenSSL which we downloaded, using the below command: sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared ./config -fPIC shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl sudo make sudo make test # not important here sudo make install The -fPIC option stands for “position independent code” . It is used when compiling a program or l