We are trying to run a Liferay portal through a load balancer that provides SSL acceleration. We installed the certificates on the LoadMaster and they work just fine. The LoadMaster passes the GET request that comes in on port 443 to port 80 on the Tomcat server. What should happen, (please correct me if I am wrong on this) as the LoadMaster is set to re-write URLs to HTTPS, is that the Tomcat server responds to the GET request and answers on port 80. The LoadMaster, as proxy, intercepts this and encrypts the response and at the same time changes any URLs in the reponse from HTTP to HTTPS.
The site loads fine and the initial redirect from the root to the /web/guest/home works as expected. The login process, however, reverts us back to standard HTTP. The "Sign In" button itself shows the link as HTTP://host.domain.com/... Of the other links on the guest home page, some show up as SSL links like the "Sign In" under the "Welcome!" drop down but the "Home" link under the "Welcome!" drop down comes up as non-SSL.
So now we've logged in and gone back and changed the address of our page to SSL... Most things work fine when we navigate from section to section. We do run into problems with entering information into actual portlets. The navigation surrounding them is fine, but once you "enter" the portlet it reverts you back to http from SSL.
I can't imagine I am the first to see this but I have been unsuccessful in finding postings that reveal the fix for this.
Windows server 2003 with latest SP and patches
Kemp Technologies LoadMaster
Liferay Portal Standard Edition 5.1.2
Using CATALINA_BASE: C:\liferay-portal-tomcat-6.0-5.1.2
Using CATALINA_HOME: C:\liferay-portal-tomcat-6.0-5.1.2
Using CATALINA_TMPDIR: C:\liferay-portal-tomcat-6.0-5.1.2\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_11
Tomcat server.xml connector entry.. (the Kemp people suggested turning off keep alives)
<Connector port="80" protocol="HTTP/1.1"
redirectPort="443" URIEncoding="UTF-8" />
Tomcat starts up clean except for some duplicate listeners that are being ignored.