LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] http/https

[ILUG] http/https

Colm Buckley colm at tuatha.org
Tue Apr 10 09:20:47 IST 2007


On 10/04/07, Kevin Brennan <kevin.brennan at redsquared.com> wrote:
>
> There is one important difference when hosting. https can not be used to
> serve multiple domains from the same IP address (ie. you need one IP
> address per domain) contrary to this when using http you can have many
> domains served from the same IP address.


This is not strictly true; you need one unique *port* per HTTPS service - it
is perfectly possible to run two separate https services on different ports
(eg: https://foo.bar.baz/ and https://wibble.twiddle:4443/ could be on the
same IP address).  However, as the port will default to 443 unless
explicitly specified, it is generally recommended that you maintain separate
IP addresses for each https service.

The reason is that, with HTTP, virtual hosts are selected using the Host:
header in the HTTP request.  While this is available with HTTPS, the HTTP
request isn't sent until after the certificates have been exchanged - and
the hostname of the website is hardwired into the certificate.  Other
protocols can use the STARTTLS mechanism to initiate secure communication
after the initial communication, but with HTTP all of the SSL stuff happens
first.

Colm

-- 
Colm Buckley / colm at tuatha.org / +353 87 2469146



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell