【发布时间】:2018-10-19 09:47:38
【问题描述】:
如果我在 Postman 中执行 GET,它会成功,但如果我在我的 Node.js 应用程序中尝试 GET,我会收到此错误:
{
Error: unable to verify the first certificate
at TLSSocket.<anonymous> (_tls_wrap.js:1103:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:637:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:467:38)
message: 'unable to verify the first certificate',
code: 'NetworkingError',
region: 'us-east',
hostname: '1.1.1.1',
retryable: true,
time: 2018-05-09T09:54:26.736Z
}
我使用相同的端点和凭据。
这可能是什么原因造成的?
【问题讨论】:
标签: javascript node.js certificate ssl-certificate