I want to connect to a SSL enabled mongoDB cluster via my dropwizard service. I am unable to find relevant documentation regarding the same. I do have the .pem file with me
I have tried following: https://docs.mongodb.com/manual/tutorial/configure-ssl-clients/ but it only mentions the command line commands, nothing about configs: mongo --ssl --host hostname.example.com --sslCAFile /etc/ssl/ca.pem
dbName: "test"
username: "${mongo_test_user_name}"
password: "${mongo_test_password}"
writeConcern: "someValue"
readPreference: "someValue"
maxConnectionsPerHost: 10
threadsAllowedToBlockForConnectionMultiplier: 3
serverSelectionTimeout: -2
I am not sure what should I add in config and application, configuration to make this work