From 077f1af5a750cc2acb0a0b9f8f3c3e1b819f9e46 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Wed, 26 May 2021 19:06:43 +0300 Subject: [PATCH] [#549] node: Add TLS to bootstrap address Signed-off-by: Pavel Karpy --- cmd/neofs-node/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/neofs-node/config.go b/cmd/neofs-node/config.go index b22ee099cf..83a2790da7 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)