Date: Fri, 30 Apr 2004 08:58:45 +0100 From: Peter Risdon <peter@circlesquared.com> To: Matt Juszczak <matt@atopia.net> Cc: freebsd-questions@freebsd.org Subject: Re: two domain names - one IP - both SSL Message-ID: <40920735.8010404@circlesquared.com> In-Reply-To: <20040430033634.H19553@sparky.webaries.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Matt Juszczak wrote: ><moved to bottom> > >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: >> >><VirtualHost *:443> >> >>There are good example configurations in the httpd.conf that ships with >>apache+mod-ssl. >> >> <from top> 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? </from top> #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 <snip> ## ## SSL Virtual Host Context ## <VirtualHost _default_:443> # General setup for the virtual host DocumentRoot "/usr/local/www/data" etc PWR.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40920735.8010404>