Reputation: 1544
We have developed a Application Portal
using Liferay
bundled with tomcat
. Application Portal is accessed using Apache httpd
as front-end.
The issue started for us when we migrated from HTTP
to HTTPS
. For HTTPS
, initially we generated self signed certificate for Apache httpd
. But we can see only Home Page is loaded with HTTPS
, rest of the pages/links are using HTTP
only. On investigating , we noted that under Site Pages settings
in control panel
for Liferay
, 'Friendly URLhas
httphard-coded in the URL . We need to
Liferayto use
HTTPSinstead of
HTTP`
How to configure the same.
Upvotes: 2
Views: 5225
Reputation: 569
That's because all links generated with Liferay use http protocol by default. To change this it's enough to set following property in your portal-ext.properties:
#
# Set the preferred protocol.
#
web.server.protocol=https
Upvotes: 6