0

I am trying to make an android application, but on submitting the data it shows the error as follow:

 Error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException:
 Trust anchor for certification path not found
Lovis
  • 9,513
  • 5
  • 31
  • 47
  • This happens when you're trying to call an API which has unsigned SSL certificate. – SripadRaj Mar 01 '18 at 09:29
  • Then how to sign or use this SSL certificate – Amol Naik Mar 01 '18 at 09:30
  • check with your server side team and ask them. Other wise you could trust all certificates from your android app for now (kind of a workaround, not a fix).There are tutorials out there. But make sure not to use the same in production. – SripadRaj Mar 01 '18 at 09:32
  • I am absolutely new to android development and don't know about this certificates , Can you suggest me few methods to overcome this error – Amol Naik Mar 01 '18 at 09:36
  • 2
    Possible duplicate of [SSLHandshakeException Trust anchor for certification path not found Android HTTPS](https://stackoverflow.com/questions/21183043/sslhandshakeexception-trust-anchor-for-certification-path-not-found-android-http) – SripadRaj Mar 01 '18 at 09:41

0 Answers0