Force tls_disable on scada connection inside outer TLS connection as it's not currently supported anyways

This commit is contained in:
Jeff Mitchell 2016-09-20 14:56:16 -04:00
parent cd567eb480
commit ce7680022b

View file

@ -56,5 +56,9 @@ func atlasListenerFactory(config map[string]string, logger io.Writer) (net.Liste
"infrastructure": scadaConfig.Atlas.Infrastructure,
}
// The outer connection is already TLS-enabled; this is just the listener
// that reaches back inside that connection
config["tls_disable"] = "1"
return listenerWrapTLS(ln, props, config)
}