First step I did was installing openssl from source like this:
Code: Select all
tar xvf OpenSSL-openssl-1.1.1e.tar.gz
cd OpenSSL-openssl-1.1.1e
./configure --prefix=/opt/openssl-1.1.1e --openssldir=/opt/openssl-1.1.1
Code: Select all
%configure \
--enable-layout=RPM \
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir}/httpd/conf \
--includedir=%{_includedir}/httpd \
--libexecdir=%{_libdir}/httpd/modules \
--datadir=%{contentdir} \
--with-installbuilddir=%{_libdir}/httpd/build \
--enable-mpms-shared=all \
--with-apr=%{_prefix} --with-apr-util=%{_prefix} \
--enable-suexec --with-suexec \
--with-suexec-caller=%{suexec_caller} \
--with-suexec-docroot=%{contentdir} \
--with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
--with-suexec-bin=%{_sbindir}/suexec \
--with-suexec-uidmin=500 --with-suexec-gidmin=100 \
--enable-pie \
--with-pcre \
--enable-mods-shared=all \
--enable-ssl --with-ssl=/opt/openssl-1.1.1e --enable-so --enable-mods-static=ssl --enable-bucketeer \
--enable-case-filter --enable-case-filter-in \
--disable-imagemap
Code: Select all
rpm -ivh httpd-2.4.43-1.x86_64.rpm
error: Failed dependencies:
libcrypto.so.1.1()(64bit) is needed by httpd-2.4.43-1.x86_64
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by httpd-2.4.43-1.x86_64
libssl.so.1.1()(64bit) is needed by httpd-2.4.43-1.x86_64
libssl.so.1.1(OPENSSL_1_1_0)(64bit) is needed by httpd-2.4.43-1.x86_64
libssl.so.1.1(OPENSSL_1_1_1)(64bit) is needed by httpd-2.4.43-1.x86_64
Code: Select all
ll /usr/lib64/ | grep libssl
-rwxr-xr-x. 1 root root 364072 Oct 31 2019 libssl3.so
lrwxrwxrwx 1 root root 13 Sep 18 12:27 libssl.so -> libssl.so.1.1
-rwxr-xr-x. 1 root root 324456 Mar 9 2016 libssl.so.0.9.8e
lrwxrwxrwx. 1 root root 16 Jun 29 17:39 libssl.so.10 -> libssl.so.1.0.1e
-rwxr-xr-x. 1 root root 446344 Aug 14 2019 libssl.so.1.0.1e
-rwxr-xr-x 1 root root 682933 Sep 18 11:55 libssl.so.1.1
lrwxrwxrwx. 1 root root 16 Aug 10 09:49 libssl.so.6 -> libssl.so.0.9.8e
ll /usr/lib64/ | grep libcrypto
lrwxrwxrwx 1 root root 16 Sep 18 12:27 libcrypto.so -> libcrypto.so.1.1
-rwxr-xr-x. 1 root root 1408384 Mar 9 2016 libcrypto.so.0.9.8e
lrwxrwxrwx. 1 root root 19 Jun 29 17:39 libcrypto.so.10 -> libcrypto.so.1.0.1e
-rwxr-xr-x. 1 root root 1974048 Aug 14 2019 libcrypto.so.1.0.1e
-rwxr-xr-x 1 root root 3245830 Sep 18 11:55 libcrypto.so.1.1
lrwxrwxrwx. 1 root root 19 Aug 10 09:49 libcrypto.so.6 -> libcrypto.so.0.9.8e
Code: Select all
ldd -v /usr/bin/openssl | grep libssl*
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f38b4b26000)
libssl.so.1.1 (OPENSSL_1_1_1) => /lib64/libssl.so.1.1
libssl.so.1.1 (OPENSSL_1_1_0) => /lib64/libssl.so.1.1
/lib64/libssl.so.1.1:
ldd -v /usr/bin/openssl | grep libcrypto*
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fa713125000)
libcrypto.so.1.1 (OPENSSL_1_1_1) => /lib64/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0) => /lib64/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0d) => /lib64/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0i) => /lib64/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0f) => /lib64/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_1) => /lib64/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0) => /lib64/libcrypto.so.1.1
/lib64/libcrypto.so.1.1: