You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks,
I can confirm that the suggested fix of adding the ;trustServerCertificate=true or ;encrypt=false to the value in the Database field works.
But it might not be the most elegant way to solve the issue.
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 filei.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.
The text was updated successfully, but these errors were encountered: