We have xamarin based mobile application and an API which is made in asp.net core hosted in windows azure.
Till last week we have been using an http url for calling the api in the mobile application. for example http://api.xxx.com
Everything was working right.
This week we changed to https://api.xxx.com.
Since then when we build the android app on the actual device we getting this error.
"System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.) ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner android native xamarin"
Not sure what is causing this error but till now we did not find a solution