How can we set the requireSSL property?

Issue

  • How can we enable the requireSSL attribute in Liferay?

Environment

  • Liferay DXP 7.0+

Resolution

  • You can set that in your JDBC properties:
    • jdbc.default.url=jdbc:mysql://host/db?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false&useSSL=true&requireSSL=true
  • You can also set it in the Control Panel → Instance Settings → Security → SSO → SAML Provider Configuration

Additional Information

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助