Guntars Ļuta
Guntars Ļuta

Reputation: 61

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?

Upvotes: 3

Views: 3789

Answers (1)

james
james

Reputation: 2107

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

Upvotes: 1

Related Questions