Apache Server configuration support - Multiple SSL Certificates

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > May 2006 > Multiple SSL Certificates





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Multiple SSL Certificates
hazel@hazelryan.co.uk

2006-05-29, 5:40 pm

I'm installing multiple ssl certificates on a single server with a
single allocated IP. From the apache documentation I've read I should
be able to specify separate certificates for each virtual host using
different ports. This I have done, using ports 443,444 and 445. But
this is not working, whichever certificate is allocated to the last
site using port 443 is shown for all sites. I cant find any solution to
this problem. I dont have the option of getting more IPs and we need
seperate certificates for each domain.

Davide Bianchi

2006-05-29, 5:40 pm

On 2006-05-25, hazel@hazelryan.co.uk <hazel@hazelryan.co.uk> wrote:
> different ports. This I have done, using ports 443,444 and 445. But
> this is not working, whichever certificate is allocated to the last
> site using port 443 is shown for all sites.


If you contact the server using https://....:444, it will pick up
probably the right certificate, but is kind of a tricky way to do it.

Davide

--
Can i dial 1-255-255-255255 and make every phone in the world ring?
-- Tanuki
hazel@hazelryan.co.uk

2006-05-29, 5:40 pm

That seems to work, but it will be a bit of a messy workaround (we have
3 different sites running the same code but on different domains with
different designs - its a marketing thing ;) so those ports would have
to be hard coded in)
Do you think reordering the Listen directives would help? I dont
understand why the pages are being served on port 443 when I've not
told it to.

Davide Bianchi

2006-05-29, 5:40 pm

On 2006-05-26, hazel@hazelryan.co.uk <hazel@hazelryan.co.uk> wrote:
> Do you think reordering the Listen directives would help?


Nope.

> I dont understand why the pages are being served on port 443 when I've not
> told it to.


'cause that's the standard https port baby. If you don't tell anything
to your browser but 'https', he will go to the standard port. Likewise,
if you tell him 'http' he will go to 80.

If you want multiple SSL certificate you need a) multiple IPs or
b) use different ports and force the client to request the url with the
port number in it.

Davide

--
People who love sausages, respect the law, and work with IT standards
shouldn't watch any of them being made.
--Peter Gutmann
Ottavio Caruso

2006-05-29, 5:40 pm

Davide Bianchi wrote:
> If you want multiple SSL certificate you need a) multiple IPs or
> b) use different ports and force the client to request the url with the
> port number in it.


If I want more than one port do I need a separate instance of Apache or
can I manage it with port redirection on the firewall?

Ottavio Caruso

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com