diff --git a/cmd/neofs-node/config.go b/cmd/neofs-node/config.go index b22ee099c..83a2790da 100644 --- a/cmd/neofs-node/config.go +++ b/cmd/neofs-node/config.go @@ -354,6 +354,10 @@ func initCfg(path string) *cfg { tlsKeyFile = viperCfg.GetString(cfgTLSKeyFile) } + if tlsEnabled { + netAddr.AddTLS() + } + state := newNetworkState() containerWorkerPool, err := ants.NewPool(notificationHandlerPoolSize)