LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-15-2010, 11:07 AM   #1
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 93

Rep: Reputation: 14
Question SSL with Namebased Virtual Hosting


Dear All

Please let me know the detailed reason that why we can't use name based virtual hosting with SSL.

Regds
Sushant Chawla
Linux Administrator
 
Old 05-15-2010, 11:39 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sushantchawla2005 View Post
Dear All
Please let me know the detailed reason that why we can't use name based virtual hosting with SSL.

Regds
Sushant Chawla
Linux Administrator
Please Google and look up things for yourself.

http://httpd.apache.org/docs/2.0/ssl...aq.html#vhosts
Quote:
Why can't I use SSL with name-based/non-IP-based virtual hosts?

The reason is very technical, and a somewhat "chicken and egg" problem. The SSL protocol layer stays below the HTTP protocol layer and encapsulates HTTP. When an SSL connection (HTTPS) is established Apache/mod_ssl has to negotiate the SSL protocol parameters with the client. For this, mod_ssl has to consult the configuration of the virtual server (for instance it has to look for the cipher suite, the server certificate, etc.). But in order to go to the correct virtual server Apache has to know the Host HTTP header field. To do this, the HTTP request header has to be read. This cannot be done before the SSL handshake is finished, but the information is needed in order to complete the SSL handshake phase. Bingo!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL Virtual Hosting the_gripmaster Linux - Security 2 03-23-2008 02:09 PM
Virtual Hosting for ssl connections? anorman Linux - Networking 1 11-23-2005 05:28 PM
vhost container - Apache namebased virtual host problems mac_casey Linux - Networking 3 01-03-2005 07:25 AM
Virtual Name Hosting And SSL ryedunn Linux - Newbie 6 12-31-2004 01:41 PM
SSL & NameBased VirtualHost ?? RHrulz Linux - Networking 1 12-12-2004 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration