Can't connect with database because of SSL problem

I’ve been trying to connect with mongo using docker compose with mongo+metabase and it doesn’t work, only when I point to v0.46. Looks like with versions v0.50+ th emetabase MongoDB Java driver got upgrade from 3.x to 4.x/5.x with this it attempts TLS negotiation first, even with ssl=false.

This way I am unable to connect it locally for testing purposes. Any advice?

Docs say that non-SRV Mongo connection strings default to SSL/TLS off. What makes you think its on?

Alternatively, can you generate a certificate for MongoDB to use?