We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62385ed commit c5b804fCopy full SHA for c5b804f
lib/connection.js
@@ -56,13 +56,13 @@ p.connect = function(port, host) {
56
self.stream = tls.connect({
57
socket: self.stream,
58
servername: host,
59
- rejectUnauthorized: ssl.rejectUnauthorized,
60
- ca: ssl.ca,
61
- pfx: ssl.pfx,
62
- key: ssl.key,
63
- passphrase: ssl.passphrase,
64
- cert: ssl.cert,
65
- NPNProtocols: ssl.NPNProtocols
+ rejectUnauthorized: self.ssl.rejectUnauthorized,
+ ca: self.ssl.ca,
+ pfx: self.ssl.pfx,
+ key: self.ssl.key,
+ passphrase: self.ssl.passphrase,
+ cert: self.ssl.cert,
+ NPNProtocols: self.ssl.NPNProtocols
66
});
67
self.attachListeners(self.stream);
68
self.emit('sslconnect');
0 commit comments