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 11-10-2006, 11:32 AM   #1
shrimpwagon
LQ Newbie
 
Registered: Apr 2006
Location: Goose Creek, SC
Distribution: SimplyMEPIS 3.3.1-1 (2.6.10)
Posts: 7

Rep: Reputation: 0
Unhappy Apache2 and SSL problem


I cannot get SSL working with Apache 2.0.59. Apache2 is not recognizing the SSL directives.

I have MEPIS Linux (Debian) and I have openssl 0.9.8c installed as a package, but Apache2 was built from source (i.e. not installed as a package). I have the correct directives in Apache's config file but it is not being recognized. I configured Apache - before compiling - to enable SSL and where to find it. Here is where I messed up...I think. Before installing SSL as a package, I built it from open source. Then I configured Apache to locate the SSL files from that build.

So now I am trying to configure Apache (./configure) to locate the SSL files that are part of the package, not the build. I don't know if this is the problem or solution. I am still a pseudo-rookie to Linux.

I hope I am making sense here.

Please help. Thank you so much,

Shawn

Apache configure attributes:

./configure --enable-ssl --with-ssl=/usr/local/ssl --enable-suexec --with-suexec-docroot=/usr/local --enable-cgi --enable-rewrite --enable-so --enable-logio --prefix=/usr/local/apache --enable-module=most --enable-shared=max --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/httpd

Apache httpd.conf file for SSL:

Listen 443

<VirtualHost *:443>
...DocRoot...ServerAdmin...
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/mysite.crt
SSLCertificateKeyFile /etc/apache2/ssl/mysite.key
</VirtualHost>
 
  


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
Apache2 + ssl blunt Slackware 4 10-31-2006 08:23 AM
Having problem with SSL config in Apache2 noone Linux - Software 6 10-17-2006 09:27 PM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 10:07 AM
Apache2 and SSL problems Malibyte Linux - Software 1 07-09-2005 05:14 PM
Apache2 SSL Config problem Xixulon Linux - Software 1 10-19-2004 05:11 PM


All times are GMT -5. The time now is 08:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration