Skip to content

Commit

Permalink
support specifying a CA
Browse files Browse the repository at this point in the history
fixes issue #8
  • Loading branch information
mdb committed Oct 17, 2019
1 parent d08714d commit 8a5da58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion consul.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class Consul {
strictSSL: config.strictSSL,
agentOptions: {
cert: config.tlsCert,
key: config.tlsKey
key: config.tlsKey,
ca: config.ca
},
body: opts.body
}, (err, resp) => {
Expand Down

0 comments on commit 8a5da58

Please sign in to comment.