Issue
- After enabling SSL and routing the domain, getting mixed content on the portal that is the pages in the https://www.abc.in referring the http://www.abc.in for the stylesheet, javascript, and henceforth.
Environment
- Liferay DXP 7.2
Resolution
- This might be caused when SSL is getting terminated at the LoadBalancer or WebServer layer itself. That is when SSL is terminated at this phase, all the requests will be forwarded to the application server over HTTP.
- For more information, please go through this unofficial article and choose to follow the unofficial article at your sole discretion as this involves the third-party level configuration. Feel free to connect with our GS team for detailed information based on your business-specific environmental configuration.
Additional Information
Please Note: Please choose to follow your appropriate discretion in the use of this information as these are not documented by Liferay.
- Using a Web Server With the Liferay Platform, please go through this article to know about the properties which should be configured if a web server sits in front of Liferay.
- Fixing Mixed Content Warnings in Liferay DXP, please go through this unofficial article to get an insight of the fix to make the SSL termination work by cross verifying that the rendered items are considered secure by the browser, and about the changes that are required at the LoadBalancer or WebServer layer as per your business specific requirement.
- https://serverfault.com/questions/659029/how-to-solve-nginx-reverse-proxy-mixed-contenthttp-https
- Revisiting SSL Termination at Apache HTTPd