【问题标题】:Android async-http - java.security.cert.CertPathValidatorException: Trust anchor for certification path not foundAndroid async-http - java.security.cert.CertPathValidatorException:找不到证书路径的信任锚
【发布时间】:2016-05-30 09:39:22
【问题描述】:

我使用 async-http 库,当我们的服务器开始使用 https 时,出现此错误:

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

如何开启忽略证书检查(我们的证书尚未完成)。

【问题讨论】:

    标签: android ssl android-async-http


    【解决方案1】:

    看到这篇文章 https://developer.android.com/training/articles/security-ssl.html#HttpsExample

    1. 颁发服务器证书的 CA 未知
    2. 服务器证书不是由 CA 签名的,而是自签名的
    3. 服务器配置缺少中间 CA

    【讨论】:

      猜你喜欢
      • 2017-01-08
      • 1970-01-01
      • 2018-01-06
      • 2016-03-31
      • 2019-08-02
      • 2016-12-26
      • 2023-02-15
      • 1970-01-01
      相关资源
      最近更新 更多