Coding with Titans

so breaking things happens constantly, but never on purpose

DataGrip connect to MS SQL

Recently I had some problems connecting with DataGrip to my Microsoft SQL Server 2012 instance provided as part of purchased web hosting plan. By some reason my connection was always rejected with following error message: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: “sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”. Microsoft’s documentation (available here) turned out to be very helpful. Read more →