MongoDb connection from metabase times out

I am using Metabase v0.35.3 from a docker.
I have been successful in connecting with Postgresql and MSSql
but connection to my mongoDB does not work at all

I get the below error-
Timed out after 3000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=xxxxxxxxxxxxxxxxxxxx,yyyy, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}]

I have tried all options in related threads but nothing worked for me.
Under Additional Mongo connection string options- I need to have the below properties.
my ssl=true & validateCertificate= false

have been able to connect to mongodb using same connection string using robomongo, mongocompass and even programmatically but metabase connection fails.
Please help

Hi @Paritosh
Sounds like you’re using a custom certificate. Upgrade to latest release, 0.36.4, which support custom certificates.