Forum Xamarin.Android

When will Mono's TLS 1.2 be merged into Xamarin Android

Hi guys,

As I understand it, Mono now has TLS 1.2 support.

When will it be merged to the Xamarin project - and released?

For more background information, please see my post on stackoverflow:

Best regards,


  • EmanueleSabettaEmanueleSabetta ITBeta ✭✭✭

    What about Xamarin.Forms? The Droid version cannot connect to TLS 1.2 web sites.
    This is the error I get:

    Image Loading: Error getting stream for System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed. –

  • Ryan_SouthRyan_South USMember

    I am also looking for more information on this? Is there another solution to using tls 1.2 with android 5.0 or less?

  • MikhailMelnikMikhailMelnik AUMember ✭✭

    It will be awesome, as ModernHttpClient usage still feels a bit hacky.

  • AlbertKAlbertK MYMember ✭✭✭✭


    I am using the Xamarin.Android.Net.AndroidClientHandler()) and it works with the latest Xamarin and it works. Of course the HttpClient() without the AndroidClientHandler does not work. I guess that will have to wait for the TLS1.2 boringSSL implementation from Xamarin to be release. The one downside of AndriodClientHandler that I can across is it missing the self-signed certificate bypass.

    using (var httpclient = new HttpClient(new Xamarin.Android.Net.AndroidClientHandler()))
            Uri uri = new Uri("");
            var ret = await httpclient.GetAsync(uri);
            var cont = await ret.Content.ReadAsStringAsync();
Sign In or Register to comment.