Closed
Description
http://pastebin.com/LLX6isjZ
(Not sure if the express part matters, but takes 30+ minutes to do a test to see if it fails as expected so this the least I got it cut down to to confirm the bug)
Just run this, and after about 30-60 minutes you should get
TypeError: Cannot read property 'CN' of undefined
at Object.checkServerIdentity (tls.js:182:37)
at TLSSocket.<anonymous> (_tls_wrap.js:1016:29)
at emitNone (events.js:67:13)
at TLSSocket.emit (events.js:166:7)
at TLSSocket._finishInit (_tls_wrap.js:566:8)