As a precursor of installing a web server such as Apache (http version 2.4.10) and to avail of certain features as in able to configure the certificate chain on a certificate basis, we need to update to this version.
An earlier post detailed the steps to compile the OpenSSL v1.0.1 series and this one would cover the next version. The steps remain the same however the earlier post is more detailed.
- Run “config”
- Run “make”
- Run “make test”
- Run “make install”
A little more granularity:
$ ./config shared --prefix=/installs/openssl-1.0.2
Here: I have specified the installation folder to be explicit. You could point it to any other location or go with the default “/usr/local/ssl”. Note that if you would like to compile in the ECC Optimizations (ECC accelerator) refer to my earlier post.
$ make test
$ make install
You might face build issues as in “gcc” not being available or an incorrect version. Try “yum update gcc”.
The final step is to set the environment as in: