Apache2 + SSL
Nelis Lamprecht
nelis at icts.uct.ac.za
Tue Oct 19 05:53:48 PDT 2004
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 at 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
More information about the freebsd-questions
mailing list