[CentOS] SSL and virtual hosts?

Jerry Franz jfranz at freerun.com
Mon Sep 21 12:55:17 UTC 2009


Tracy Phillips wrote:
>
>
>     1) Use a wildcard cert. You can use *.somedomain certs to serve
>     multiple
>     SSL domains on a single IP so long as they fit in the *.somedomain
>     pattern.
>
>
> This is incorrect.
>
> apache can't read the headers since the traffic is encrypted. If it 
> can't read headers, it does not know which vhost to use and thus can 
> not serve up the correct files
>
> If you have more than one ssl vhost, you will have to use two IP's. 
> You can use one SSL vhost with many non SSL vhosts on the same IP with 
> no issues.

Yes you can. I have SSL servers configured precisely like that. They 
work fine.

-- 
Benjamin Franz




More information about the CentOS mailing list