Citrus Payment Gateway integration in Android

95 views Asked by At

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?

2

There are 2 answers

4
Hardik Mehta On

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

0
Bhadresh On

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