Error: unable to verify the first certificate in nodejs

I’m trying to download a file from jira server using an URL but I’m getting an error. how to include certificate in the code to verify? Error: Error: unable to verify the first certificate in nodejs at Error (native) at TLSSocket.<anonymous> (_tls_wrap.js:929:36) at TLSSocket.emit (events.js:104:17) at TLSSocket._finishInit (_tls_wrap.js:460:8) My Nodejs code: var https = require(“https”); … Read more