I am working right now on improving a Java project built using the IntelliJ IDEA, and this project requires connecting to a local database. The problem is that I can't run it at all because of an exception:
com.microsoft.sqlserver.jdbc.SQLServerException: Le pilote n'a pas pu établir de connexion sécurisée au serveur SQL Server à l'aide du chiffrement SSL (Secure Sockets Layer). Error: « The server selected protocol version TLS10 is not accepted by client preferences [TLS12] ». ClientConnectionId:c1722f06-2f8f-435b-953d-67697967d9a5
I am guessing it might be linked to IntelliJ settings in my computer because my co-worker copied the project too and it worked perfectly for him.