LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-04-2008, 03:12 PM   #1
ddenton
Member
 
Registered: May 2007
Posts: 114

Rep: Reputation: 15
Issue upgrading openssl for apache2...


Hello forum.

I have an RHEL 4 installation running Apache 2.2.4 with mod_ssl 2.2.4. The system has Openssl-0.9.7a installed natively. I was able to download, compile and install Openssl-0.9.7m, and generate a key and cert with it, and get ssl to work with apache. I also renamed the old openssl binary (/usr/bin/openssl) and symlinked to the new one in /usr/local/ssl/bin/.

When looking at the headers for the http server, I see it's using the 9.7a version of Openssl, so I tried recompiling Apache with the new version and the headers never change.

Here's my config statement for apache:

./configure --prefix=/opt/apache --enable-mods-shared=most --enable-proxy --enable-proxy-http --enable-ssl=shared --with-ssl=/usr/local/ssl/bin/

Can anyone tell me why Apache insists on compiling with the old version?

Thanks a bunch...
 
Old 03-04-2008, 06:09 PM   #2
ddenton
Member
 
Registered: May 2007
Posts: 114

Original Poster
Rep: Reputation: 15
Any takers? I know it's probably something rudimentary that I've overlooked, but I'd really appreciate some input. Thanks...
 
Old 03-05-2008, 09:30 AM   #3
ddenton
Member
 
Registered: May 2007
Posts: 114

Original Poster
Rep: Reputation: 15
Let me Phrase the question this way. Is there any reason configure for apache would refer to any other openssl installation besides the one specified with the --with-ssl compile directive?

Is the --with-ssl directive supposed to point to the openssl binary itself, or the directory in which it resides?

Thanks...
 
Old 03-12-2008, 11:09 AM   #4
ddenton
Member
 
Registered: May 2007
Posts: 114

Original Poster
Rep: Reputation: 15
In case anyone was actually curious, the issue was with the syntax of my apache configure statement. The directive needs to point at the parent directory of the lib dir in the compiled openssl package.
 
  


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
upgrading openssl bentz Linux - Software 1 05-19-2007 02:23 AM
HTTPS not working under Apache2 and OpenSSL pennywind Linux - Security 7 12-29-2005 02:45 PM
Upgrading Openssl CarlosSunden Linux - General 1 05-21-2004 06:39 PM
upgrading to openssl 0.9.7d-1 on redhat 7.3 megaspaz Linux - Security 1 04-18-2004 07:52 AM
Upgrading Openssl and mod_ssl luba Linux - Security 1 08-15-2002 04:46 PM


All times are GMT -5. The time now is 06:56 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration