Glide图像加载器和HTTPS图像链接

时间:2016-05-24 12:16:19

标签: android android-glide

我正在尝试从我的服务器加载图片,但是当图片加载时我得到了:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

是否有任何配置为Glide或其他设置设置信任证书以避免此错误?

1 个答案:

答案 0 :(得分:1)

您可以接受自签名的https网址。对于滑翔库,请查看此处https://futurestud.io/blog/glide-module-example-accepting-self-signed-https-certificates

Https Connection Android

相关问题