LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache2 and SSL problem (https://www.linuxquestions.org/questions/linux-software-2/apache2-and-ssl-problem-500351/)

shrimpwagon 11-10-2006 10:32 AM

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>


All times are GMT -5. The time now is 09:14 PM.