3

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?

Guntars Ļuta
  • 61
  • 2
  • 10

1 Answers1

1

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

Community
  • 1
  • 1
james
  • 1,967
  • 3
  • 21
  • 27