Citrus Payment Gateway integration in Android

111 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 best solutions below

4
On

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

0
On

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