PortalUtil.getPortalURL() is returning http response


  • While trying to fetch some data using PortalUtil.getPortalURL(httpServletRequest) method, it returns http response even on a SSL enabled website.


  • Liferay DXP 7.3
  • Liferay DXP 7.4


  • There might be multiple reasons for this behavior.
  • One of the usual reason is invalid/broken SSL certificate chain of the website. Kindly make sure that the DNS SSL certificate is complete.
Was this article helpful?
0 out of 0 found this helpful