SSL certificate selection based on host-header: is it possible?

Posted by DrStalker on Server Fault See other posts from Server Fault or by DrStalker
Published on 2010-03-25T04:58:59Z Indexed on 2010/03/25 5:03 UTC
Read the original article Hit count: 325

Filed under:
|
|

Is it possible for a web server to select an SSL certificate to use based on the host-header of the incoming connection, or is that information that is only available after the SSL connection is established?

That is, can my webserver listed on port 443 and use the foo.com certificate if https://foo.com is requested, and the bar.com certificate if https://bar.com is requested or am I trying to do something impossible because the server has to establish an SSL connection before it knows what the client wants?

© Server Fault or respective owner

Related posts about ssl

Related posts about web-hosting