open-consul/agent/auto-config
Matt Keeler 7b49fc1529
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
..
auto_config.go Allow cancelling startup when performing auto-config (#8157) 2020-06-19 15:16:00 -04:00
auto_config_test.go Require enabling TLS to enable Auto Config (#8159) 2020-06-19 16:38:14 -04:00
config_translate.go Implement Client Agent Auto Config 2020-06-17 16:49:46 -04:00
config_translate_test.go Implement Client Agent Auto Config 2020-06-17 16:49:46 -04:00