Apache2 + SSL

Andrew L. Gould algould at datawok.com
Tue Oct 19 07:17:25 PDT 2004


On Tuesday 19 October 2004 05:40 am, Nelis Lamprecht wrote:
> 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>
>
> The worst part is there is no logging of any sort to tell me
> otherwise and I've run out of ideas on how to debug this. I've even
> tried compiling in SSL statically but it didn't make any difference.
> I've used certificates already in use and created my own but Apache
> will still not listen on port 443( and nothing else is ) no matter
> what I do. I've tried various ssl configurations but they all seem to
> be ignored. Even httpd -S shows only the virtual hosts in httpd.conf
> and nothing from ssl.conf
>
> Has anybody got any other ideas on how to debug this problem ? How
> can I determine whether SSL is being used ?
>
> By the way, I've also installed openssl from ports and recompiled
> apache but still no luck. I've tried everything! ;) I think..
>
> Thanks.
>
> Nelis
>

I seem to recall having to do the following before I could get apache2 + 
ssl working:

1. Create (self) signed certificates.
2. Modify /usr/local/etc/rc.d/apache2.sh so that it can find the 
certificate.

Best of luck,

Andrew Gould


More information about the freebsd-questions mailing list