1
votes

I'm trying to connect to MongoDB Atlas using Robo 3T. I must be doing something wrong, cause when i'm trying to connect I get the following error message: Failed to connect to cluster via SSL tunnel. in details: Error: ssl connection failure: Authentication failed.

What iv'e tried so far:

Selected a "Direct connection" type. I used my primary cluster as address (including the port number) for Authentication I used "admin" Database, and put my username (my email) and the password of MongoDB Atlas. I also white listed my IP address, and even set it as "allow access from anywhere", though it's not secure. I checked "Use self-signed certificate" Nothing I do seems to work.

Any idea what am I doing wrong? thanks

2

2 Answers

0
votes

At Atlas connections are SSL encrypted.

  1. Go to SSL Tab in the connection settings window

  2. Select Use SSL Protocol option

  3. Now try connecting.

enter image description here

0
votes

Exclude the port number in your cluster URI. :PORT. Exclude the port then use ssl and self certificate.