The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Unable to start apache httpd(64-bit) in SSL mode on RHEL 64 bit machine  (Read 1937 times)

skishore

  • Newbie
  • *
  • Offline Offline
  • Posts: 1

Hi,
I have compiled apache httpd 2.4.18 from scratch using openssl-1.0.2g and openssl-fips 2.0.12.
It is working fine in without SSL, but i try to start with SSL it doesn't start by throwing

"httpd: Syntax error on line 128 of /tmp/ossl/httpd/Release/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: /tmp/ossl/httpd/Release/modules/mod_ssl.so: undefined symbol: EC_KEY_new_by_curve_name"

I have checked the paths and libraries that mod_ssl.so is pointing to, everything looks good.EC_KEY_new_by_curve_name is available in libcrypto.so and not in libssl.so, which is also the case in working config(32-bit)

I have compiled same src on linux 32 and its works fine in SSL mode as well.

Can someone help me with this.

Thank you
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 574

I had such a problem, too when I tried to compile it from scratch.
The compile used the wrong so file. So I did not install openssl in the system path, but to /opt

If you want to see my solution https://github.com/JBlond/debian_build_apache24/blob/redhat/build_apache.sh

You can use it too.

Code: [Select]
git clone https://github.com/JBlond/debian_build_apache24.git
cd debian_build_apache24
git checkout redhat

if you still have a problem please ask again.
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13