Android:http 请求异常:Trust anchor for certification path not found

此文章发布于 27 个月前,部分信息可能已经过时,请自行斟酌确认。

问题描述

昨天重新申请了接口 api 的域名证书,今天发现登录报错了

java.security.cert.CertPathValidatorException: Trust anchor for certification path not found

解决方案(之一)

根据之前经验分析和域名证书有关,于是通过 https://myssl.com/ 检测确实发现:域名证书链不完整,补全即可。

参考:微信小程序:无法访问部分 https 域名(已解决)

最后修改:2021 年 12 月 21 日 08 : 57 AM
如果觉得我的文章对你有用,请随意赞赏

发表评论