Connection to a remote MSSQL server from an IPT running in docker fails with SSL related error, see attached screenshot.

The testing (temporary) fix is to add trustServerCertificate=true; to the JDBC url definition in the jdbc.properties file
i.e. Change
https://github.com/gbif/ipt/blob/master/src/main/resources/jdbc.properties#L25
mssql.url=jdbc:sqlserver://{host};databaseName={database}
to
mssql.url=jdbc:sqlserver://{host};databaseName={database};trustServerCertificate=true;
However it is not persistant in a docker container and probably not the best way in a prod environment.
Please advise on the best possible way to address the issue.