logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: SSL Virtual Host
Author
fax



Joined: 05 Feb 2007
Posts: 24

PostPosted: Wed 04 Apr '07 9:56    Post subject: SSL Virtual Host Reply with quote

How can I have several Name based, SSL enabled virtual hosts in Apache 2.2.4? Shocked
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Wed 04 Apr '07 13:22    Post subject: Reply with quote

Unfortunately, the short answer is "you can't".

See Why can't I use SSL with name-based/non-IP-based virtual hosts? in the Apache docs.

-tom-
Back to top
bokehman



Joined: 12 Oct 2006
Posts: 11

PostPosted: Thu 05 Apr '07 4:07    Post subject: Reply with quote

It is possible to run Name based virtual hosts but all of them would have to share the same certificate. This is because the SSL connection is established before the URI is sent (to protect the content). If you wish to use multiple certificates (one for each domain) you will need to use IP based virtual hosting. One IP address per SSL certificate; nothing else will work.
Back to top
fax



Joined: 05 Feb 2007
Posts: 24

PostPosted: Sun 15 Apr '07 5:07    Post subject: Reply with quote

bokehman wrote:
It is possible to run Name based virtual hosts but all of them would have to share the same certificate. This is because the SSL connection is established before the URI is sent (to protect the content). If you wish to use multiple certificates (one for each domain) you will need to use IP based virtual hosting. One IP address per SSL certificate; nothing else will work.

Could you show me how to do that in steps? Very Happy
Back to top


Reply to topic   Topic: SSL Virtual Host View previous topic :: View next topic
Post new topic   Forum Index -> Apache