Im facing this issue in xamarin forms android somebody please guide me to resolve this
Asked
Active
Viewed 551 times
-2
-
Is your server correctly setup? It can be an issue with the server and not with the application – Bruno Caceiro Dec 12 '18 at 11:15
-
we are using testing link without ssl certificate how to resolve this – Suriya Dec 12 '18 at 11:17
-
is there is any parameter to avoid ssl certifcate verification – Suriya Dec 12 '18 at 11:17
-
Check out this answer https://stackoverflow.com/a/21257694/3094731 – Abdullah Khan Dec 12 '18 at 11:24
1 Answers
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