Android Question Soap SSLHandshakeException:CertPathValidatorException: Trust anchor for certification path not foun

Discussion in 'Android Questions' started by JOHN NG, Apr 16, 2018 at 3:15 PM.

  1. JOHN NG

    JOHN NG Member Licensed User

    I gettin SSLHandshakeException:Trust anchor for certification path not found exception , I know I can use InitializeAcceptAll if i use httputil2 library. But I using Soap library to perform the http request.
     
  2. DonManfred

    DonManfred Expert Licensed User

    It can be done with okhttp too
     
  3. JOHN NG

    JOHN NG Member Licensed User

    Thanks I able to make https call by using okhttp and set to InitializeAcceptAll . If I use InitializeAcceptAll the data is not encrypted ?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    The data is encrypted, however the server certification is not validated. This means that the connection is open to a "man in the middle" attack.
     
  5. JOHN NG

    JOHN NG Member Licensed User

    If my certificate issue by Trusted Certificate Authority , then I can just use Initialize instead of InitializeAcceptAll ?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

Loading...