I am using Xamarin.Forms 3.1, and .NET Standard 2.0 PCL and whenever I attempt to call an API, i get an error:
TrustFailure, xamarin OPENSSL_internal: CERTIFICATE_VERIFY_FAILED
My certs are valid though, and in a browser, we can see they are green and valid.
This application was previously working and communicating with my backend using HTTPS. However since I went to Xamarin.Forms 3.1 or perhaps some other change, HTTPS no longer works.
I tried the ModernHttpClient-updated, but that did not solve the problem.
My android project is set to "Managed" and "Android" both had the same result, failure.
I tired using both IP addresses and hostnames for my endpoints, which are local Windows 10 IIS hosted.
Thanks for any suggestions or ideas to try.