postman不能测试https接口解决办法

第一步:打开 Charles,将 Charles root certificate 根证书保存,格式选择为.pem,入口如下:

postman不能测试https接口解决办法

第二步:导出 private key 文件:

postman不能测试https接口解决办法

第三步:打开 postman,进入 settings,在 general 中关闭 ssl 检查

postman不能测试https接口解决办法

第四步: 进入 certificates 进行配置,上面一项是配置要访问的IP,公钥私钥分别对应之前第一步第二步保存的文件:

postman不能测试https接口解决办法

配置成功之后,即可正常访问HTTPS