Start a new topic

Connect to Mongo Using SSL

I am able to enable an SSL connection on the MongoDB driver, but I cannot find a way to share the necessary .pem file.  How do I point the Mongo driver at this certificate for an SSL connection?   Here is the error I am getting;

java.security.cert.CertificateException: No subject alternative DNS name matching localhost found.

Login or Signup to post a comment