nodejs https 请求 UNABLE_TO_GET_ISSUER_CERT_LOCALLY 错误处理

来源:互联网 发布:北沉香手串 淘宝 编辑:程序博客网 时间:2024/06/06 05:51
在request 的参数中添加:
rejectUnauthorized: false


参考文章:http://stackoverflow.com/questions/30651407/nodejs-https-request-unable-to-get-issuer-cert-locally


0 0
原创粉丝点击