Forum Discussion
SQL Server 2012 Encrypted connection issue on Windows Server 2016
We have installed SQL Server 2012 on Windows Server 2016 DataCenter, when trying to use EncryptionMethod=SSL while creating the DataSource we are getting the below error:"Connection verification failed for data source: testCDX
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]SSL handshake failed: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Could not build a validated path.
The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]SSL handshake failed: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Could not build a validated path."
Kindly note that the issue is occurring only on WS2016, we have the same implementation done on WS2012 and everything works fine.
Would you please advise how can we solve the issue?