Re: two domain names - one IP - both SSL

From: Peter Risdon (peter_at_circlesquared.com)
Date: 04/30/04

  • Next message: Mikkel Christensen: "Re: Suexec with Apache 1.3.29"
    Date: Fri, 30 Apr 2004 08:58:45 +0100
    To: Matt Juszczak <matt@atopia.net>
    
    

    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.

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Mikkel Christensen: "Re: Suexec with Apache 1.3.29"