Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Glide image loader and HTTPS image link

I am trying to load images from my server, but when image is loading I am getting:

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

Are there any configurations to set trust certificate for Glide or other settings to avoid this error?

like image 233
Guntars Ļuta Avatar asked Sep 16 '26 08:09

Guntars Ļuta


1 Answers

You can accept self-signed https URL. For glide library, look here https://futurestud.io/blog/glide-module-example-accepting-self-signed-https-certificates.

Or

Https Connection Android

like image 81
james Avatar answered Sep 17 '26 22:09

james