Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring TLS for RPC #230

vpack opened this Issue Oct 22, 2015 · 0 comments


None yet
1 participant
Copy link

commented Oct 22, 2015

Hello Team.

Thanks for your support maintaining this.

I am having difficulty with my wrapper cookbook when configuring TLS for RPC. I have defined :

37 node.default['consul']['config']['ca_file'] = '/etc/consul/ssl/ca.crt'
38 node.default['consul']['config']['cert_file'] = '/etc/consul/ssl/consul.crt'
39 node.default['consul']['config']['key_file'] = '/etc/consul/ssl/consul.key'
41 node.default['consul']['config']['ui_dir'] = '/srv/consul-ui/current/dist'
42 node.default['consul']['config']['datacenter'] = 'aws-us-east'
43 node.default['consul']['config']['verify_outgoing'] = true
44 node.default['consul']['config']['verify_incoming'] = true

I do have a databag with the items ca_file, cert_file and key_file. Chef-Client is able to generate these files correctly. However the default.json is missing the configuration for these files.

I have temporarily created this config using a file.

$ cat files/default/ssl.json
"ca_file" : "/etc/consul/ssl/ca.crt",
"cert_file" : "/etc/consul/ssl/consul.crt",
"key_file" : "/etc/consul/ssl/consul.key",
"encrypt": "someNiceKey=="

Please suggest ideas to resolve this.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.