mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-04 14:25:35 -04:00
Force tls_disable on scada connection inside outer TLS connection as it's not currently supported anyways
This commit is contained in:
parent
cd567eb480
commit
ce7680022b
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue