ssl in weblogic

thumbnail
mokhtar hatampoor, modified 5 Years ago. Junior Member Posts: 32 Join Date: 12/27/07 Recent Posts
hi
i work with liferay 6 and weblogic
i create war file of liferay and deliver to admin to deploy on weblogic.
admin install ssl on weblogic but not automatic redirect http to https.
weblogic is clustered and has load balancer.
when type https://mydomain.com in browser, site is secure show (show lock icon correctly). but all page elements (news,image,pages,rss,....) url is http.
what is wrong?  (weblogic configuration or load balancer configuration or liferay configuration)
thanks
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
mokhtar hatampoor:

weblogic is clustered and has load balancer.
when type https://mydomain.com in browser, site is secure show (show lock icon correctly). but all page elements (news,image,pages,rss,....) url is http.
what is wrong?  (weblogic configuration or load balancer configuration or liferay configuration)
If the loadbalancer forwards traffic as http, Weblogic let's Liferay know about the incoming communication being http. Thus Liferay assumes it should generate the same protocol. This is a common case with reverse proxies / loadbalancers that terminate the TLS traffic.
Tomcat can be configured to "lie" to applications and signal that the request came through https. I don't know about Weblogic's configuration in that matter.
You can set web.server.protocol in portal-ext.properties to tell Liferay to not listen to the appserver and prefer https nevertheless