Forum Moderators: phranque

Message Too Old, No Replies

need clarification regarding ssl + name-based vhosts

         

darkage

7:37 pm on May 18, 2006 (gmt 0)

10+ Year Member



Hi,

Im getting confused with SSL not working with name base virtual hosts.

Im currently running a site with apache 2.0.x and a number of subdomains (all one ip):

www.example.com
forum.example.com
eshop.example.com
extra.example.com

Now i need SSL as ill soon be adding credit card processing. Preferrably id like every host to work with http and https so that i can customize without restrictions.

Is this possible?

As i understand this cannot be done due to the name based vhosts not working with ssl, so how do i add ssl? (i thought that was where you use wildcards certificates?)

Can i do it with just ONE secure vhost, like "secure.example.com" that has all the payment pages for all subdomains?

The main part is that im trying to achieve is to control which vhosts should work with http or https or both.

So if i setup one for https it should not work with http and vice versa, unless ive set it up for both http and https.

Any help is appreciated.

jdMorgan

2:32 am on May 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not any kind of SSL whiz, but does any of this [google.com] help?

Jim

darkage

7:57 am on May 19, 2006 (gmt 0)

10+ Year Member



jdmorgan>

well not really :-)

Ive already done the googling on websites, googlegroups, in this forum and in sitepoint forum.

I just need someone with the knowledge to point me in the right direction. What the "proper" way to implement ssl in my case.

Then i should be able to google myself to the "howto".

thanks.

jdMorgan

6:26 pm on May 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There were several how to's in the threads pointed to by that link, including one that was literally step-by-step, right at the top.

Jim

darkage

7:31 pm on May 19, 2006 (gmt 0)

10+ Year Member



jdmorgan>

Thanks ill have a look. I think i might have found something here:

[onlamp.com...]