The Driver could not establish a secure connection toSQL Server.

0
Hi All,   I am facing below issue while fetching data from MSSQL.   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
asked
2 answers
0

YOu need to import the SSL on mendix server. 

 

Alternatively, Try using secure database from cloud like azure or aws and see if facing the same issue. 

answered
0

Please try to use custom configuration under custom tab as I was also facing the same issue but with this configuration it started working for me.

 

Name: DatabaseJdbcUrl

Value: jdbc:sqlserver://localhost:1434;databaseName=MendixDB;integratedSecurity=false;encrypt=true;trustServerCertificate=true

answered