Error: "SameSite: None" requires Secure connection after upgrading to Kibana 8.13.4

After upgrading from Kibana 7.17.20 to to Kibana 8.13.4, Kibana doesn't start and this error appears in the log.
There is no setting for SameSite in kibana.yml file.
Any idea how to resolve this issue?



[2024-06-13T19:50:24.325+00:00][ERROR][http.server.Kibana] Error: "SameSite: None" requires Secure connection
    at validateOptions (/usr/share/kibana/node_modules/@kbn/core-http-server-internal/src/cookie_session_storage.js:57:11)
    at createCookieSessionStorageFactory (/usr/share/kibana/node_modules/@kbn/core-http-server-internal/src/cookie_session_storage.js:70:3)
    at HttpServer.createCookieSessionStorageFactory (/usr/share/kibana/node_modules/@kbn/core-http-server-internal/src/http_server.js:445:103)
    at createCookieSessionStorageFactory (/usr/share/kibana/node_modules/@kbn/core-http-server-internal/src/http_server.js:200:64)
    at new SessionCookie (/usr/share/kibana/node_modules/@kbn/security-plugin/server/session_management/session_cookie.js:41:38)
    at SessionManagementService.setup (/usr/share/kibana/node_modules/@kbn/security-plugin/server/session_management/session_management_service.js:44:26)
    at SecurityPlugin.setup (/usr/share/kibana/node_modules/@kbn/security-plugin/server/plugin.js:159:35)
    at PluginWrapper.setup (/usr/share/kibana/node_modules/@kbn/core-plugins-server-internal/src/plugin.js:85:26)
    at PluginsSystem.setupPlugins (/usr/share/kibana/node_modules/@kbn/core-plugins-server-internal/src/plugins_system.js:92:40)
    at PluginsService.setup (/usr/share/kibana/node_modules/@kbn/core-plugins-server-internal/src/plugins_service.js:121:19)
    at Server.setup (/usr/share/kibana/node_modules/@kbn/core-root-server-internal/src/server.js:331:26)
    at Root.setup (/usr/share/kibana/node_modules/@kbn/core-root-server-internal/src/root/index.js:56:14)
    at bootstrap (/usr/share/kibana/node_modules/@kbn/core-root-server-internal/src/bootstrap.j