使用postman时,报错SSL Error: Unable to verify the first certificate

开发中使用postman调用接口,出现以下问题,在确认路径、参数、请求方式均为正确的情况下
使用postman时,报错SSL Error: Unable to verify the first certificate_第1张图片

解决方法
File - Settings -> SSL certification verification 关闭
找到图中配置,这里默认是打开状态,把它关闭即可:ON -> OFF

使用postman时,报错SSL Error: Unable to verify the first certificate_第2张图片

再次请求接口
使用postman时,报错SSL Error: Unable to verify the first certificate_第3张图片
原因:使用 Postman 发起 HTTPS 请求时,它会验证服务器的 SSL 证书,我们没有需要要关闭SSL证书的验证。

你可能感兴趣的:(锦集,ssl,网络协议,网络,postman)