LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2004, 07:32 AM   #1
celticmatrix
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Apache on RH 7 -- mod_ssl prob (among others)


Okay guys, I am at my wits end. You are my last hope

We have a server running Apache 1.3.29 on RH 7. I re-compiled apache w/ all the neccesary modules: mod_perl 1.27 (seems to work), mod_ssl (latest), openssl installed under /opt/, php 4.3.2 (works fine) and mm 1.1.3. My configure string is as follows:

--- .config.status ---

LIBS="-L/opt/db/lib" \
INCLUDES="-I/opt/db/include" \
EAPI_MM="../mm-1.1.3" \
SSL_BASE="../openssl-0.9.7d" \
./configure \
"--with-layout=RedHat" \
"--enable-rule=SSL_SDBM" \
"--enable-module=all" \
"--enable-module=rewrite" \
"--activate-module=src/modules/extra/mod_gzip.c" \
"--add-module=src/modules/extra/mod_bandwidth.c" \
"--permute-module=BEGIN:bandwidth" \
"--activate-module=src/modules/perl/libperl.a" \
"--activate-module=src/modules/php4/libphp4.a" \
"--enable-module=ssl" \
"--enable-module=so" \
"--enable-shared=ssl" \
"--enable-shared=perl" \
"--enable-shared=max" \
"$@"

---

compiled everything without a hitch (third-party mods as DSO -- see config above). Make, make install. Generated a server certificate (/etc/httpd/conf/ssl.crt/server.crt).
Started with apachectl startssl.
Now two things are quite interesting:

1) in httpd_error_log, I only get the following string:
[notice] Apache/1.3.29 (Unix) mod_perl/1.27 configured -- resuming normal operations

Shouldnt there be something like mod_ssl X.XX and OpenSSL X.XX alongside mod_perl to indicate the module is loaded? If not, how do I go about loading it (It is a DSO)? Is this a httpd.conf problem?

2) No connections via https possible at all, although in httpd.conf Listen is set to 443 and SSL directives are in place.

Any clues? What am I missing here? Thanks for any hints.
Greetings,
Patrick
 
Old 05-05-2004, 11:47 AM   #2
celticmatrix
LQ Newbie
 
Registered: May 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Update

Just tried to get some error messages in ssl_error_log, after installing and testing it, and there is no output at all.

So the module is not loaded. It is compiled alright (there is a
libssl.so in /modules) but somehow it does not get loaded.

My guess now is that apache skips it.
Forcing it to load in httpd.conf (commenting out the <IfDefine
HAVE_SSL> ) results in a server crash whenever I try to access a page!

There is no error generated in httpd_error_log, only some mention of an unclean httpd shutdown.

Do I need to set some environment vars in order to have mod_ssl loaded? Any hints?

Thanks,
Patrick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.0 and mod_ssl pimp1911 Linux - Security 4 02-03-2006 03:36 PM
Apache - Mod_SSL Mr_Munkey Linux - Software 0 12-27-2004 09:52 AM
Apache mod_ssl error belorion Linux - Software 2 08-04-2004 02:16 PM
mod_ssl and apache 2 xfurious_mindx Linux - Newbie 0 07-21-2004 03:49 PM
mod_ssl & Apache Swift&Smart Linux - Software 28 01-05-2004 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration