2 ssl certs for 1 IP question
Listen 1443
ProxyPass /
ProxyPassReverse /
SSLEngine On
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateKeyFile /etc/httpd/conf/domaina_ssl/zimbra.zmb.moc.key
SSLCertificateFile /etc/httpd/conf/domaina_ssl/zimbra.zmb.moc.crt
Listen 2443
ProxyPass /
ProxyPassReverse /
SSLEngine On
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateKeyFile /etc/httpd/conf/domainb_ssl/zimbra.domainb.moc.key
SSLCertificateFile /etc/httpd/conf/domainb_ssl/zimbra.domainb.moc.crt
I currently don't have any domains to test with but if I do it this way via multiple ports, when the client types in
Or do I need to point the domain (dns/A record) to domainA:1443?
I'm new to this, so any help will be appreciated! Any other solutions/suggestions on how to support multiple domains/ssl certs to one IP are welcome too! I did a solution involving SNI but I think there are some browser compatibility issues that I dont want to take the chance with. Thanks!
6 Replies
But if the SSL site is only going to be used for logins, administrative pages, and automated requests, you might be able to get away with putting the port in the links on your non-SSL site. That way, nobody has to type the port; people will just click some links and end up on the correct port. This is perfectly OK for some types of web sites and web services.
will this work?
A quick post on TechRepublic, from 2009, when the feature was introduced.
Apache doc on the feature is here:
http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI
You might be able to make that work for you.
@lencholamas:
I have heard setting up another apache server with a diff ip and then setting up a reverse proxy to the other server could work..anyone know how to do that or fwd documentation on that?
The same Apache server can listen on any number of IP addresses. If you have 2 IPs, just tell Apache to use one for each site. There is no need for any reverse proxying between multiple daemons, and even if you manage to set it up that way, it won't make any difference. You'd still need 2 IPs if you want to support non-SNI browsers.