It seems that WebRequest can't properly verify SSL certificates on Android and iOS, might be related to the Mono Version.
Most solutions I've seen online resume at doing the following:
ServicePointManager.ServerCertificateValidationCallback += (o, cert, chain, errors) => true;
Which works but is a terrible solution as it just removes all verifications.
So we need to either find a better HTTP client, or manually rewrite the ServerCertificateValidationCallback to implement a proper verification.
It seems that
WebRequestcan't properly verify SSL certificates on Android and iOS, might be related to the Mono Version.Most solutions I've seen online resume at doing the following:
Which works but is a terrible solution as it just removes all verifications.
So we need to either find a better HTTP client, or manually rewrite the
ServerCertificateValidationCallbackto implement a proper verification.