当从appMAN调用app vs时,https的行为会有所不同

时间:2017-10-30 17:34:41

标签: node.js express ssl https

所以当我使用邮递员

时,我在localhost端口10000上运行服务器

POST https://127.0.0.1:10000/api/user-authentications/authorize

我收到了一些回复。

但是,当我使用其他应用时

await axios.post("https://127.0.0.1:10000/api/user-authentications/authorize");

我收到错误

主机名/ IP与证书的altnames不匹配:" IP:127.0.0.1不在证书的列表中:"

为什么一个成功而另一个失败?我尝试在我调用的服务上记录POSTMAN和另一个NODEJS应用程序的传入ip。它们都具有相同的IP ::ffff:127.0.0.1

0 个答案:

没有答案