Error implementing ModSecurity - Cannot load modules/mod_ssl.so

Document ID : KB000094240
Last Modified Date : 03/05/2018
Show Technical Document Details
Issue:
Customer trying to implement ModSecurity (Using CA documentation) is getting following error when starting the apache:
./httpd -d /$SPECROOT/apache -k start
httpd: Syntax error on line 129 of //opt/application/spectrum/apache/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: libcrypto.so.6: cannot open shared object file: No such file or directory.
However the needed file is located in:
$ locate libcrypto.so.6
/usr/lib/libcrypto.so.6 
 
Environment:
Spectrum 10.2.1 on Redhat 6.5
Resolution:
Install the openssl098e package, It looks like this is needed.

After installing openssl098e (yum install openssl098e), the specific libraries are available... 

ldd /opt/application/spectrum/apache/modules/mod_ssl.so 
linux-vdso.so.1 => (0x00007fff19906000) 
libssl.so.6 => /usr/lib64/libssl.so.6 (0x00007f2817bf2000) 
libcrypto.so.6 => /usr/lib64/libcrypto.so.6 (0x00007f2817896000) 
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2817691000) 
libz.so.1 => /lib64/libz.so.1 (0x00007f281747b000) 
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f2817277000) 
librt.so.1 => /lib64/librt.so.1 (0x00007f281706e000) 
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f2816e37000) 
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2816c1a000) 
libc.so.6 => /lib64/libc.so.6 (0x00007f2816885000) 
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f2816641000) 
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f281635a000) 
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f2816155000) 
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f2815f29000) 
/lib64/ld-linux-x86-64.so.2 (0x0000003513200000) 
libfreebl3.so => /lib64/libfreebl3.so (0x00007f2815d25000) 
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f2815b1a000) 
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f2815917000) 
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f28156fd000) 
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f28154dd000) 

and this solved the issue.