在request 的参数中添加:
rejectUnauthorized: false
参考文章:http://stackoverflow.com/questions/30651407/nodejs-https-request-unable-to-get-issuer-cert-locally
在request 的参数中添加:
rejectUnauthorized: false
参考文章:http://stackoverflow.com/questions/30651407/nodejs-https-request-unable-to-get-issuer-cert-locally