Permalink
Browse files

Allow the client to specify a CA-list in connect().

  • Loading branch information...
1 parent c51351b commit 6d93b91e8cfab78e77e674177ced2119f960429a @ahhentz committed Sep 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -33,7 +33,7 @@ dnode.prototype.connect = function () {
if (params.port) {
params.host = params.host || '127.0.0.1';
if (params.key) {
- var options = { key: params.key, cert: params.cert };
+ var options = { key: params.key, cert: params.cert, ca : params.ca };
stream = tls.connect(params.port, params.host, options, function() {
attachDnode();
});

0 comments on commit 6d93b91

Please sign in to comment.