Apache 2, Multiple SSL certs, one ip address

Discussion in 'Server Operation' started by sfunk1x, Aug 17, 2009.

  1. sfunk1x

    sfunk1x New Member

    I'm guessing this won't work from what I've read, but here goes:

    I've got a CentOS 5.2 server running Apache 2. I've got a signed wildcard cert installed for several virtual hosts (each host is it's own individual file). However, I'd like to run a different, self-signed cert, for some other virtual hosts. They are on the same IP address as the wildcard cert.

    I'm guessing this will never work because SSL only supports one cert per ip address? Is that how it works? Regardless of the NameVirtualHost *:443 option in httpd.conf?

    Any help appreciated.
  2. id10t

    id10t Member

    It breaks because the SSL transaction takes place before the NameVirtualHost stuff kicks in...

Share This Page