Jul 01 2022 04:27 AM
I had been trying during weeks without finding a solution
That's my scenario
Server 1 : SQL Server :: Windows Server
Server 2 : Net 6 API :: PopOS LTS (Ubuntu 22.04)
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 31 - Encryption(ssl/tls) handshake failed)
Server 2 (API) needs SSL certificate to connect to Server 1 (SQL Server)
actual error
Client : Android Device that connects to Server 2 (API) trough Ionic App
I understand will also need SSL certificate
* I also tried Net 6 API on Windows Server, then I had problem when establishing the connection Ionic (Android App) to Windows Server :: yet Net 6 API connection with SQL was working flawlessly
Jul 05 2022 02:32 AM
Hi @Octopi,
Thanks for posting your issue here.
However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang