Note: Apache httpd 2.4.x is compatible with openssl-1.0.x and not with higher.
Download OpenSSL:
https://www.openssl.org/source/openssl-1.0.2k.tar.gz
1) Install and Compile openssl source
Extract it any where you want, Follow below command to compile openssl.
--prefix=(this is to specify installation directory if not use it will install at default location)
Command: ./config --prefix=/usr --openssldir=/usr/local/openssl shared
make
make install
openssl installed sucessfully.
2) Compile openssl with apache or Install Apache with mod_ssl.
Command: ./configure --prefix=/opt/httpd --enable-ssl --enable-so
make
make install
openssl compiled with apache sucessfully.
Download OpenSSL:
https://www.openssl.org/source/openssl-1.0.2k.tar.gz
1) Install and Compile openssl source
Extract it any where you want, Follow below command to compile openssl.
--prefix=(this is to specify installation directory if not use it will install at default location)
Command: ./config --prefix=/usr --openssldir=/usr/local/openssl shared
make
make install
openssl installed sucessfully.
2) Compile openssl with apache or Install Apache with mod_ssl.
Command: ./configure --prefix=/opt/httpd --enable-ssl --enable-so
make
make install
openssl compiled with apache sucessfully.