nodejs trust self signed certificate code example Example: node tls reject unauthorized process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;