Skip to end of metadata
Go to start of metadata

The connection using SSL is not available in the Community Edition of Mongo Management Studio.

The connection using SSL is available in version 1.8.0 or higher.

To create a new connection to a mongo database using SSL you open the window with all connections by clicking the "Connect" button. Here you click "New connection" and you will see the following prompt:

 

Name

A self-chosen name for the connection

Server connection

A valid MongoDB connection string (http://docs.mongodb.org/manual/reference/connection-string/). Please enter the connection string as if the MongoDB server would be reachable without SSH. The input fields for SSH will follow later on.

Login database

Only required with activated MongoDB authentication. Determines against which database should be authenticated. Default is „admin“.

Destination database

Only required with activated MongoDB authentication. Determines to which database should be connected . With disabled MongoDB authentication, all databases are always displayed.

Connection over SSH

Shows the SSH configurations when activated. The SSH options are described here: Connect using SSH

Connect with SSL

If checked the connection will be using SSL. Also the other SSL options shows up.

Certificate validation

If checked, all certificates will be validated against the root certificate chain from the Certificate Authority.

Root certificate chain from the Certificate Authority

This is required if certificate validation is selected. Enter either the absolute path to the .pem file that contains the root certificate chain from the Certificate Authority or the content of the file as text.

Certificate

Enter either the absolute path to the .pem/.crt file that contains the certificate or the content of the file as text.

Certificate key

Enter either the absolute path to the .pem/.key file that contains the certificate key or the content of the file as text. Only required when the key is not already included in the certificate file. 

Certificate passphrase

Only required when the certificate key is encrypted.

Default connection

Tags this connection as default. On each applications' start it is automatically connected to this connection. Can only be selected for one connection.

Color

The color of the server icon, for better differentiating tabs.

 

After entering the data you can click "Save and connect". The connection using SSL will be established.

 

If you wan't to know how to setup a MongoDB server to use SSL, you can find more information here: http://docs.mongodb.org/manual/tutorial/configure-ssl/