I too was experiencing this ERROR. It can be solved by recompiling OPENSSL with shared option and exporting LD value and then compile APACHE with OPENSSL
ERROR MITIGATION INCASE IF YOU GET ERROR, TLS/SLS FILE NOT FOUND OR UNUSABLE ---------------------------------------------------------------------------- 1.Should recompile OPENSSL with shared option ./config shared --prefix=/usr/local/openssl --openssldir=/usr/local/openssl make make test make install 2.Export LD_LIBRARY_PATH nano /etc/ld.so.con LD_LIBRARY_PATH=/usr/local/openssl/lib export LD_LIBRARY_PATH=/usr/local/openssl/lib 3.Now Compile Apache with SSL :-) LDFLAGS=-L/usr/local/openssl/lib CPPFLAGS=-I/usr/local/openssl/include ./configure --prefix=/usr/local/apache --enable-ssl --with-ssl=/usr/local/openssl/ --with-included-apr --with-pcre=/usr/local/pcre/bin/pcre-config --enable-ssl-staticlib-deps --enable-mods-static=ssl make && make install 4.Further if the problem persists, please check for OPENSSL and APACHE compatiability. -KRIS
Hi there,
ReplyDeleteI too was experiencing this ERROR.
It can be solved by recompiling OPENSSL with shared option and exporting LD value
and then compile APACHE with OPENSSL
ERROR MITIGATION INCASE IF YOU GET ERROR, TLS/SLS FILE NOT FOUND OR UNUSABLE
----------------------------------------------------------------------------
1.Should recompile OPENSSL with shared option
./config shared --prefix=/usr/local/openssl --openssldir=/usr/local/openssl
make
make test
make install
2.Export LD_LIBRARY_PATH
nano /etc/ld.so.con
LD_LIBRARY_PATH=/usr/local/openssl/lib
export LD_LIBRARY_PATH=/usr/local/openssl/lib
3.Now Compile Apache with SSL :-)
LDFLAGS=-L/usr/local/openssl/lib CPPFLAGS=-I/usr/local/openssl/include ./configure --prefix=/usr/local/apache --enable-ssl --with-ssl=/usr/local/openssl/
--with-included-apr --with-pcre=/usr/local/pcre/bin/pcre-config --enable-ssl-staticlib-deps --enable-mods-static=ssl
make && make install
4.Further if the problem persists, please check for OPENSSL and APACHE compatiability.
-KRIS