-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Comments
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: