From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 14:17:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A803516A4CE for ; Tue, 19 Oct 2004 14:17:25 +0000 (GMT) Received: from mynah.mail.pas.earthlink.net (mynah.mail.pas.earthlink.net [207.217.120.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E3AE43D54 for ; Tue, 19 Oct 2004 14:17:25 +0000 (GMT) (envelope-from algould@datawok.com) Received: from 31-21.lctv-ubr2-blk1.cablelynx.com ([206.255.31.21] helo=[192.168.63.10]) by mynah.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1CJunl-0005oY-Ah; Tue, 19 Oct 2004 07:17:25 -0700 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org, nelis@icts.uct.ac.za Date: Tue, 19 Oct 2004 09:17:41 -0500 User-Agent: KMail/1.6.2 References: <1098182457.7016.104.camel@localhost> In-Reply-To: <1098182457.7016.104.camel@localhost> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410190917.41487.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4b657f6a9d1a5b0dbbee67091efcfbbb12350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 Subject: Re: Apache2 + SSL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 14:17:25 -0000 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 and > gets totally ignored. > > > Include etc/apache2/ssl.conf > > > 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