Does MongoDB driver support sslAllowInvalidHostnames?

by Nov 3, 2019

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?

Response

ngoduybien over 3 years ago
Found the answer: sslInvalidHostNameAllowed=true