1

When I integrate the citrus Payment Gateway I got the Error " com.android.volley.NoConnectionError: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."

How to add SSL certificate in project?

Bhadresh
  • 291
  • 1
  • 9

2 Answers2

1

put your certificate in res->raw->your certificate.cer and access this file as getResources().openRawResource(R.raw.your_certificate)

Hardik Mehta
  • 867
  • 1
  • 12
  • 20
0

This problem is not at android or volley side. check your url is access certificate or not api side.

Bhadresh
  • 291
  • 1
  • 9