JSESSIONID not secure by default


  • The JSESSIONID cookie that comes with Liferay requests in the browser is not secure by default when inspected in the browser.


  • Liferay DXP 7.3


  • Set the JSESSIONID in web.xml to secure:

Additional Information

  • The JSESSIONID is generated by the Application server and should be set there as secure when you access the App server through HTTPS instead of HTTP because cookies can only be marked as secure when using the HTTPS protocol

  • If the access to the app server didn't go through HTTPS, this configuration is not generated and then needs to be set later in the web.xml. So this is not enabled by default.

0 人中有 0 人觉得有帮助