nodejs enable debug https handshake log code example Example: node tls reject unauthorized process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;