Does MongoDB driver support sslAllowInvalidHostnames?

I am using ADS version 20 and trying to connect to a mongodb instance with sslAllowInvalidHostnames=true argument but looks like the jdbc driver doesn't recognize this parameter. I am able to connect to the database from the command line with --sslAllowInvalidHostnames flag. Any advise please?

Parents
No Data
Reply Children
No Data