Migration from CUBA to JMIX - unable to connect database

Hi
I have migrated a CUBA project to JMIX. The migration aparently looks Ok. However, database connection is failed.

Here is the error message I get when I Test the connection:

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:498fa52a-9017-453c-a93d-4d124e6fba55

Thanks for any help.

Look at this topic : After upgrading to Jmix 1.3, getting build error related to mssql

I think this will help.

HI
I tried using that parameter but now got the following error:

The TCP/IP connection to the host 43.224.118.54, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

Note, I can connect from the CUBA appplication to the same server/database/credentials but not from JMIX.

It worked when I used the dialog to create the parameters:

image