Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 14:53:12 +0200
From:      Nelis Lamprecht <nelis@icts.uct.ac.za>
To:        questions@freebsd.org
Cc:        rasputnik@hellooperator.net
Subject:   Re: Apache2 + SSL
Message-ID:  <1098190392.7022.137.camel@localhost>

next in thread | raw e-mail | index | archive | help
Sorry about the top posting but the person who replied to my question
was rejected( black listed by combined.njabl.org ) by our server and I
found his message below via the web archives.

In reference to the below message.

Putting <IfDefine SSL> instead of <IfModule mod_ssl.c> in my httpd.conf
which Includes ssl.conf causes Apache to complain about all SSL type
commands. eg.

Syntax error on line 76 of /usr/local/etc/apache2/ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps mis-spelled or defined by
a module not included in the server configuration

Which leads me to think that perhaps the SSL portion of Apache2 is
faulty ? 

httpd -S -DSSL returns the same thing as httpd -S and shows only the
httpd.conf virtual hosts on port 80.

Thanks.

Nelis
     

* Nelis Lamprecht <nelis@icts.uct.ac.za> [1041 11:41]:
> Hi,
> 
> I've recently just installed apache-2.0.52_1 from ports on a new system.
> I've taken an already working configuration from an older machine and
> transferred it to the new server. No matter what I do I can't get SSL
> working even though it shows up as being used.
> 
> www      54695  0.0  0.4 14256 9024  ??  I    12:25PM   0:00.00
> /usr/local/sbin/httpd -DSSL
> 
> It's as if anything I put between <IfModule mod_ssl.c> and </IfModule>
> gets totally ignored.
> 
> <IfModule mod_ssl.c>
>     Include etc/apache2/ssl.conf
> </IfModule>

Try 

<IfDefine SSL>
     Include etc/apache2/ssl.conf
</IfDefine>


> httpd -S shows only the virtual hosts in httpd.conf and nothing from
> ssl.conf 

httpd -S -DSSL





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1098190392.7022.137.camel>