I\'m using node 0.10.26 and trying to establish https connection with client validation.
Server\'s code:
var https = require(\'https\'); var fs = req
This one worked for me:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
Note: Posting answer so it can help others in future.