consul/agent/config
Matt Keeler 4a5b352c18
Require enabling TLS to enable Auto Config (#8159)
On the servers they must have a certificate.

On the clients they just have to set verify_outgoing to true to attempt TLS connections for RPCs.

Eventually we may relax these restrictions but right now all of the settings we push down (acl tokens, acl related settings, certificates, gossip key) are sensitive and shouldn’t be transmitted over an unencrypted connection. Our guides and docs should recoommend verify_server_hostname on the clients as well.

Another reason to do this is weird things happen when making an insecure RPC when TLS is not enabled. Basically it tries TLS anyways. We should probably fix that to make it clearer what is going on.
2020-06-19 16:38:14 -04:00
..
agent_limits.go
agent_limits_test.go
builder.go
builder_oss.go
builder_oss_test.go
builder_test.go
config.go
config_oss.go
default.go
default_oss.go
doc.go
flags.go
flags_test.go
flagset.go
limits.go
limits_windows.go
merge.go
merge_test.go
runtime.go
runtime_oss.go
runtime_oss_test.go
runtime_test.go
segment_oss.go
segment_oss_test.go