Merge branch 'topic/christian/management-framework-tls'

* topic/christian/management-framework-tls:
  Bump zeek-testing-cluster to pull in WebSocket TLS updates
  Bump zeek-client to pull in TLS config updates
  Management framework: add TLS options for controller's websocket server

(cherry picked from commit f38ac30418)
This commit is contained in:
Christian Kreibich 2025-08-29 21:53:19 -07:00
parent 1e6d1e1b12
commit d0a64c35dc
4 changed files with 14 additions and 5 deletions

View file

@ -1644,9 +1644,10 @@ event zeek_init()
if ( cni$bound_port != 0/unknown )
{
@pragma push ignore-deprecations
Broker::listen_websocket(cat(cni$address), cni$bound_port);
@pragma pop ignore-deprecations
local ws_opts = Cluster::WebSocketServerOptions($listen_addr=to_addr(cni$address),
$listen_port=cni$bound_port,
$tls_options=Management::Controller::tls_options_websocket);
Cluster::listen_websocket(ws_opts);
websocket_info = fmt("websocket port %s:%s", cni$address, cni$bound_port);
}