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

Closed
vpack opened this issue Oct 22, 2015 · 1 comment · Fixed by #233
Closed

Configuring TLS for RPC #230

vpack opened this issue Oct 22, 2015 · 1 comment · Fixed by #233

Comments

@vpack
Copy link

vpack 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'
40
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.

Thanks
Venkat.

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant