Recompiled openssl but mod_ssl.so seems to reference old version
Posted: 2018/02/21 13:03:04
Hi,
I have tried to download and compile a new version of openssl for centos
I then created a file /etc/profile.d/openssl.sh with the content
when I log in again and run openssl version I get
But it seems the apache httpd mod_ssl library is still referencing the previous version of openssl.
How do I make apache mod_ssl use my newly compiled openssl ?
I have tried to download and compile a new version of openssl for centos
Code: Select all
wget https://www.openssl.org/source/openssl-1.0.2n.tar.gz
tar -zxf openssl-1.0.2n.tar.gz
cd openssl-1.0.2n
./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared
make
make test
make install
Code: Select all
pathmunge /usr/local/openssl/bin
Code: Select all
# openssl version
OpenSSL 1.0.2n 7 Dec 2017
Code: Select all
# strings /etc/httpd/modules/mod_ssl.so | grep OpenSSL
This version of OpenSSL does not have any compression methods available, cannot enable SSLCompression.
OpenSSL 1.0.2k 26 Jan 2017
OpenSSL
AH01894: Unable to initialize TLS servername extension callback (incompatible OpenSSL version?)
AH01913: Unable to initialize TLS session ticket key callback (incompatible OpenSSL version?)
OpenSSL 1.0.2k 26 Jan 2017