ssl - Node.js throws an error when connecting to a server (WSS) -
i use ssl
error:
unable_to_verify_leaf_signature
nodejs version: 0.10.2 ws module: websocket-node (last ver)
on version 0.8.22 works well.
update:
events.js:72 throw er; // unhandled 'error' event ^ error: unable_to_verify_leaf_signature @ securepair. (tls.js:1283:32) @ securepair.eventemitter.emit (events.js:92:17) @ securepair.maybeinitfinished (tls.js:896:10) @ cleartextstream.read [as _read] (tls.js:430:15) @ cleartextstream.readable.read (_stream_readable.js:294:10) @ encryptedstream.write [as _write] (tls.js:344:25) @ dowrite (_stream_writable.js:211:10) @ writeorbuffer (_stream_writable.js:201:5) @ encryptedstream.writable.write (_stream_writable.js:172:11) @ write (_stream_readable.js:547:24)
Comments
Post a Comment