postman或curl访问https域名,报错unable to verify the first certificate,支付宝支付异步回调,https不通问题

postman或curl访问https域名,报错unable to verify the first certificate,支付宝支付异步回调,https不通问题

 

 如上述问题,网上大部分的解决方法就是关闭postman的ssl验证,这个解决方法就像是:"出了问题,那就解决提出问题的人"

 

上述问题一般是因为证书链存在问题:

我们找到这个网站(https://myssl.com/),对证书链进行修复

具体工具地址:https://myssl.com/chain_download.html

检测或上传证书,点击获取证书链

 

需要多等一会,一会后会生成一个新的证书文本:

 

 

保存到服务器上替换原证书文件,至此unable to verify the first certificate提示就消失了,可以正常返回数据

 

posted @ 2022-10-24 15:56  开拓丿飞  阅读(1432)  评论(0编辑  收藏  举报