-2

https://forums.xamarin.com/discussion/146613/javax-net-ssl-sslhandshakeexception-java-security-cert-certpathvalidatorexception/p1?new=1

Im facing this issue in xamarin forms android somebody please guide me to resolve this

Suriya
  • 11
  • 6

1 Answers1

0

To disable SSL validation you can add this line to onCreate (MainActivity) and FinishedLaunching (AppDelegate).

System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };

If this doewsn't work, you can follow this guide

Bruno Caceiro
  • 7,035
  • 1
  • 26
  • 45