使用OkHttp时找不到证书路径的信任锚

时间:2016-10-17 18:19:24

标签: android ssl-certificate retrofit okhttp boringssl

我正在使用RetrofitOKHttp进行联网。在使用API​​时,我收到以下错误:

  

java.security.cert.CertPathValidatorException:Trust anchor for   未找到证书路径。

我搜索了SO,但无法理解如何解决它。请提供一些代码段,链接或建议。

0 个答案:

没有答案