Tuesday, 11 April 2017

I get UNABLE_TO_VERIFY_LEAF_SIGNATURE when using https module to make a call in node.js

I get error at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' } when making a https post call in node js. I am using https module and have set the below additional options as well. strictSSL:false, requestCert:false, process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" . The server is on internal network server, and has a untrusted CA cert configured as the server cert .



via xan_z

No comments:

Post a Comment