Skip to main content
5-Regular Member
March 22, 2022
Question

The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL)

  • March 22, 2022
  • 1 reply
  • 1068 views

Hi, Im trying to connect to SQL Server DB, and this error is shown, any idea how to fix it?

 

Error Getting Tables : The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target". ClientConnectionId:######-####-###...

AZ_10002866_0-1647974326058.png

 

1 reply

Support
March 22, 2022

Hi @AZ_10002866.

 

The error indicates a problem with the certificate.  Did you enable SSL encryption for SQL Server?  This site may be helpful.

 

Regards.

 

--Sharon