Friday, May 15, 2015

Ignore Self-signed Certificate in Node.js

Issues: 

Error : self-signed certificate using npm or jasmine-node

Solution:

ADD process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" before the request is sent.

No comments: