Saturday 26 November 2016

tls.connect error: unable to verify the first certificate

Building a node.js application that use tls.connect but I can't get it to work. When I calltls.connect(options) it returns an error: unable to verify the first certificate.I've searched all over and no-one has an answer to this, some people say to include the lib ssl-root-cas which returns an array of certificates and put it in the options.ca parameter, but this still doesn't work. Any ideas?

Submitted November 26, 2016 at 11:51AM by nodenoob123

No comments:

Post a Comment