This content has been marked as final.
Show 2 replies
-
1. Re: How to configure different SSL Certificates for the same
ssaguturu Nov 20, 2008 7:51 AM (in response to ssaguturu)i heard we can do this by Virtual Host configurations...
if anybody knows how to do, then please let me know how we can configure multiple SSL certificates thru virtual hosts.. -
2. Re: How to configure different SSL Certificates for the same
ssaguturu Nov 21, 2008 5:32 AM (in response to ssaguturu)Currently there is no way.. (-;
Reason:-
You need two different elements in server.xml, each binding to a separate IP address. That also means that your machine needs to have two IP addresses configured. The SSL handshake occurs before the HTTP headers are sent, so you can't switch SSL certificates based upon the hostname the client is using to connect (because it hasn't been sent yet).Note: This is not a problem with Tomcat/JBoss: this is a universal issue with all web servers.
Please refer:
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#vhosts2
http://stackoverflow.com/questions/276134/how-can-i-setup-different-ssl-certificates-for-vhosts-on-apacheIt is Industry Accepted Solution
Still there is a way: Refer RFC#3546 [its not implemented by all], the concept called "Server Name Indication"