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 nodej...