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
Asked
Active
Viewed 482 times
0
-
If you need any more details concerning my code, let me know and i will provide you with it – Mouhcine Oussama Nov 03 '21 at 23:23
1 Answers
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