0

is there any one who can provide me with the way of consuming an API that use a self signed SSL in xamarin android. An Exception thrown says: Javax.Net.Ssl.HandshakeException: 'java.security.cert.CertPathValidatorException: Trust anchor for certification path not found'. enter image description here

1 Answers1

0

You can try to check whether SSL Certificate is correctly configured with the Certificate in your web. We have to add the intermediate certificates in generating the .pem file.

You can go through this thread to install the intermediate certificate in your server:

Trust Anchor not found for Android SSL Connection

And there is a similar thread about this, you can check it here:Trust anchor for certification path not found [ Xamarin.Forms ] .

Jessie Zhang -MSFT
  • 9,830
  • 1
  • 7
  • 19