Install the request module and run the following code:
var r = require('request')
r.get('https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip')
Expected behavior:
Fetches the file and exits
Actual behavior:
events.js:72
throw er; // Unhandled 'error' event
^
Error: CERT_UNTRUSTED
at SecurePair.<anonymous> (tls.js:1381:32)
at SecurePair.emit (events.js:92:17)
at SecurePair.maybeInitFinished (tls.js:980:10)
This works as expected in Node v0.10.33, but fails in Node v0.10.34
Install the
requestmodule and run the following code:Expected behavior:
Fetches the file and exits
Actual behavior:
This works as expected in Node v0.10.33, but fails in Node v0.10.34