Hi Arun,
This error occurs because Mendix (running on Java) is trying to establish an encrypted connection, but the SQL Server certificate is not trusted by the JVM.
For an on-premises deployment, you have the following options:
1- Provide the SQL Server (Root CA or self-signed) certificate to the Mendix Runtime.
Export the public certificate from SQL Server ( .crt or .pem).
Open Mendix Service Console > Configuration > Advanced.
Add a custom runtime setting:
Name: CACertificates
Value: Full local path to the certificate file (e.g., C:\Certs\sqlserver.crt).
Restart the Mendix service.
2- If you are using a self-signed certificate and do not need full validation (for Dev or Test Environments), you can tell the driver to trust it regardless of its origin.
3- If your network is secure and encryption is not required, you can disable it entirely:
You can find all available custom settings in the Mendix documentation:
https://docs.mendix.com/refguide/custom-settings/
Hope this helps resolve the issue.