Unable to connect to SSL database


I have been trying to deploy my app to Galaxy using a compose mongodb instance and, while connecting to a database without SSL works perfectly, the moment I try to connect to an SSL-enabled one the deployment crashes.

I have attached an image with the error that I get.

All certificates seem in place, but it still fails until I disable SSL altogether.