How can i connect mongodb using self signed certificate with datagrip



I'm using datagrip with mongodb(AWS DocumentDB via ssh tunnel).

Moving from Robomongo to Datagrip 2019.3, But I can't connect cause datagrip require ca, key, crt files.

This is robo mongo settings. they are no require ca files.

what can i do?

com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:57791, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketWriteException: Exception sending message}, caused by { Remote host terminated the handshake}, caused by { SSL peer shut down incorrectly}}].

Comment actions Permalink


You can export your certificate from Keychain

Or you can create new certificate files using this script


Comment actions Permalink

The provided feature request link does not work

Comment actions Permalink

I dont know how this has been marked as resolved
very unfortunate.

Got following Error with link by @Yuriy Vinogradov

Nope, can't find it!

It could mean that the URL points to a page that doesn't exist or the URL is correct and you don't have permission to view this content.

Please sign in to leave a comment.