From owner-freebsd-questions@FreeBSD.ORG Fri Apr 30 00:57:47 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 769EC16A4CE for ; Fri, 30 Apr 2004 00:57:47 -0700 (PDT) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EB7843D31 for ; Fri, 30 Apr 2004 00:57:46 -0700 (PDT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i3U7wjt1007310; Fri, 30 Apr 2004 08:58:46 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <40920735.8010404@circlesquared.com> Date: Fri, 30 Apr 2004 08:58:45 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040327 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Juszczak References: <20040430060729.F1B7043D54@mx1.FreeBSD.org> <1083305567.97931.5.camel@pc-kiel.staff.pnc.com.au> <409201C3.6030508@circlesquared.com> <20040430033634.H19553@sparky.webaries.com> In-Reply-To: <20040430033634.H19553@sparky.webaries.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Kiel Stirling cc: freebsd-questions@freebsd.org Subject: Re: two domain names - one IP - both 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: Fri, 30 Apr 2004 07:57:47 -0000 Matt Juszczak wrote: > > >On Fri, 30 Apr 2004, Peter Risdon wrote: > > > >>Kiel Stirling wrote: >> >> >> >>>On Fri, 2004-04-30 at 16:07, Andras Kende wrote: >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: owner-freebsd-questions@freebsd.org >>>>[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of David Banning >>>>Sent: Friday, April 30, 2004 12:20 AM >>>>To: questions@freebsd.org >>>>Subject: two domain names - one IP - both SSL >>>> >>>>I am wondering how I could run SSL on two different domain names >>>>using just one IP address. >>>> >>>>I am using virtual hosting with apache. >>>> >>>>Is that possible? >>>> >>>> >>>> >>>> >>>Yes. >>>Follow this URL: http://httpd.apache.org/docs/vhosts/name-based.html may >>>need to dig a bit to sort out the ssl stuff be this is the basic idea. >>> >>> >>> >>> >>> >>> >>If you're not already running an ssl-enabled apache, I'd recommend the >>apache+mod-ssl port. Then just make sure the SSL virtual hosts listen on >>the right port: >> >> >> >>There are good example configurations in the httpd.conf that ships with >>apache+mod-ssl. >> >> I didn't think this was possible. I thought that ssl was IP based because it doesn't actually pass the host name until a session is encrypted? #pkg_info | grep apache apache+mod_ssl-1.3.29+2.8.16 The Apache 1.3 webserver with SSL/TLS functionality #less /usr/local/etc/apache/httpd.conf ## ## SSL Virtual Host Context ## # General setup for the virtual host DocumentRoot "/usr/local/www/data" etc PWR.