我正在尝试从我的服务器加载图片,但是当图片加载时我得到了:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
是否有任何配置为Glide或其他设置设置信任证书以避免此错误?
答案 0 :(得分:1)
您可以接受自签名的https网址。对于滑翔库,请查看此处https://futurestud.io/blog/glide-module-example-accepting-self-signed-https-certificates。
或