pghalliday / tls-tunnel

MIT License
29 stars 11 forks source link

Error: DEPTH_ZERO_SELF_SIGNED_CERT - when running test #4

Open smartmouse opened 9 years ago

smartmouse commented 9 years ago

I am using 10.38 node.js , do you know why I got this ? thanks in advance,

Running "mochaTest:test" (mochaTest) task 17 -----------,------, 3 -----------| //\ 0 ----------_-^|_( o .o) ----------_- "" ""

✖ 3 of 31 tests failed:

1) Server once started should accept TLS connections on the configured port, assign an external port for forwarding and emit an event: Error: DEPTH_ZERO_SELF_SIGNED_CERT at SecurePair. (tls.js:1381:32)

pghalliday commented 9 years ago

I think this commit was supposed to work around problems with self signed certs.

https://github.com/pghalliday/tls-tunnel/commit/d42f63ae37a08d87cccd9936b5671b53a24787bf

maybe you found another problem - i can't check now though. Maybe tomorrow