且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Glide - javax.net.ssl.SSLHandshakeException:java.security.cert.CertPathValidatorException:未找到认证路径的信任锚

更新时间:2021-09-07 21:48:18

关于证书的问题 请点击此链接 -https://***.com/a/39032433/4741746

The issue is about certificate follow this link -https://***.com/a/39032433/4741746

这将绕过证书并允许您进入系统

This will bypass certificate and allow you to enter in system

另见此链接 -https://futurestud.io/tutorials/glide-module-example-accepting-self-signed-https-certificates

创建您的自定义 GlideModule 类、OkHttpUrlLoader 类并将 Glide 附加到您上面的链接中

Create your custom GlideModule Class,OkHttpUrlLoader class and attach to you Glide as mention in above link

你必须把

<meta-data
        android:name="io.futurestud.tutorials.glide.glidemodule.CustomImageSizeGlideModule"
        android:value="GlideModule" />

AndroidMainifyingt 文件的内部应用程序标签 https://github.com/fs-opensource/android-tutorials-glide/blob/master/app/src/main/AndroidManifest.xml

Inside application tag of your AndroidMainifiest file https://github.com/fs-opensource/android-tutorials-glide/blob/master/app/src/main/AndroidManifest.xml