Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 09:17:41 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        freebsd-questions@freebsd.org, nelis@icts.uct.ac.za
Subject:   Re: Apache2 + SSL
Message-ID:  <200410190917.41487.algould@datawok.com>
In-Reply-To: <1098182457.7016.104.camel@localhost>
References:  <1098182457.7016.104.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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