Forum Discussion

Suvad_Hodzic's avatar
Suvad_Hodzic
Copper Contributor
Mar 26, 2022

Enable TLS 1.2 on .NET Maui app on Android

Where to set TLS 1.2 in android options (it does not exists in VS Preview 17.1)
Can find it in Xamarin but no option to set it on .NET MAUI. project properties.
https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/transport-layer-security?tabs=windows
Is there an option in VS somewhere (really got into it but cannot find it)?

And not only one for now.. Please advise.

https://docs.microsoft.com/en-us/answers/questions/658469/use-httpclient-in-maui.html

 


can see related issue here:

https://github.com/dotnet/maui/issues/3522

2 Replies

    • Suvad_Hodzic's avatar
      Suvad_Hodzic
      Copper Contributor

      JamesMontemagno, we want to be able to use unecrypted connections to SQL server (local network/not over the internet sql server - maui app).

       

      It would be nice to have such a feature. (It's already on git but fyi).


      We managed to solve it with ssl from SQL server side, but for future usage would be great to be able to use unecrypted connections.

      https://github.com/dotnet/SqlClient/issues/1656#issuecomment-1260858052

Resources