SSL Cert issue not able to ignore it

Hi,

I am using Xamarin.ios for developing my ios application using xcode(9.4.1)

added this in info.plist

Added NSAppTransportSecurity in info.plist but no luck.

Also tried to ignore cert: System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };


Error: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “***” which could put your confidential information at risk."


Output error: nsurlsession/nsurlconnection http load failed (kcfstreamerrordomainssl, -9813) ios


Please can anyone help me on this?