Error: unable to verify the first certificate in nodejs
Try adding the appropriate root certificate This is always going to be a much safer option than just blindly accepting unauthorised end points, which should in turn only be used as a last resort. This can be as simple as adding to your application. The SSL Root CAs npm package (as used here) is a very useful … Read more