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 config: rename Flags to BuilderOpts 2020-06-16 12:51:19 -04:00
builder.go Require enabling TLS to enable Auto Config (#8159) 2020-06-19 16:38:14 -04:00
builder_oss.go agent/config: include Audit struct as a pointer on Config, fix tests 2020-05-11 14:13:05 -07:00
builder_oss_test.go
builder_test.go config: warn when a config file is skipped 2020-06-17 13:08:54 -04:00
config.go Change auto config authorizer to allow for future extension 2020-06-18 15:22:24 -04:00
config_oss.go agent/config: add auditing config to OSS and add to enterpriseConfigMap exclusions 2020-05-11 13:27:35 -07:00
default.go Implement Client Agent Auto Config 2020-06-17 16:49:46 -04:00
default_oss.go
doc.go
flags.go config: Make ConfigFormat not a pointer 2020-06-16 12:52:22 -04:00
flags_test.go config: rename Flags to BuilderOpts 2020-06-16 12:51:19 -04:00
flagset.go
limits.go Add unconvert linter 2020-05-12 13:47:25 -04:00
limits_windows.go
merge.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
merge_test.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
runtime.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
runtime_oss.go
runtime_oss_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
runtime_test.go Require enabling TLS to enable Auto Config (#8159) 2020-06-19 16:38:14 -04:00
segment_oss.go
segment_oss_test.go