Message Boards

Liferay 6.2 / Jboss / Squid in Reverse as SSL terminator

Martijn Jongen, modified 7 Years ago.

Liferay 6.2 / Jboss / Squid in Reverse as SSL terminator

New Member Posts: 9 Join Date: 6/1/16 Recent Posts
Hi All,

I struggled for a long time to get the following setup working

Client --> SSL --> Squid -->http-->Liferay

First I tried to fix this in the jboss config file by altering the following line:
<connector name="http" protocol="HTTP/1.1" scheme="https" socket-binding="http" proxy-name="proxy.local" proxy-port="443"/>

and adding a line in the squid.config:
request_header_add X-Forwarded-Proto https

This still didn't work. After that I added in portal-ext.properties the following
web.server.protocol=https

I have the very strong feeling I'm doing more than needed, but due to 100 times trying in a different config I lost track. Who knows for sure how to do this in a CORRECT way?

Thanks,

Martijn
avinash dhannuri, modified 7 Years ago.

RE: Liferay 6.2 / Jboss / Squid in Reverse as SSL terminator

New Member Posts: 4 Join Date: 9/9/16 Recent Posts
Does Squid cache work for login applications?