然后得到了结果:
{
"message": "unable to verify the first certificate",
"stack": "Error: unable to verify the first certificate\n at TLSSocket. (_tls_wrap.js:1088:38)\n at emitNone (events.js:86:13)\n at TLSSocket.emit (events.js:188:7)\n at TLSSocket._finishInit (_tls_wrap.js:610:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)"
}
我尝试用hitchhiker测试公司内部的API,这个API使用了自己的SSL证书。https://example.com/test
然后得到了结果: { "message": "unable to verify the first certificate", "stack": "Error: unable to verify the first certificate\n at TLSSocket. (_tls_wrap.js:1088:38)\n at emitNone (events.js:86:13)\n at TLSSocket.emit (events.js:188:7)\n at TLSSocket._finishInit (_tls_wrap.js:610:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)"
}
请问有办法可以绕过这个check吗