Search code examples
sslhttpsliferayliferay-6

Liferay CSS URLs using http on secure pages


We're trying to upgrade an ancient Liferay instance to Liferay 6.2 on JBoss 6.4. We've got the front page loading over https but the CSS includes are all using http and therefore not loading properly. Is there a specific setting that controls this behavior? Should we be looking into the JBoss config or Liferay?

I can post more information but I'm honestly not sure where to start without posting everything we have.


Solution

  • Please try adding the property web.server.protocol to the file portal-ext.properties as Andre suggested.

    Steps:

    1. Stop the liferay server.
    2. Edit or create the portal-ext.properties in the liferay home folder.
    3. Add the property web.server.protocol=https
    4. Start the liferay server