Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Info

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

Info

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:Image Removed

  

Image Added

Name

A self-chosen name for the connection

...

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

...

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

SSH Server

Address of the destination SSH server (IP or hostname).

SSH port

SSH port on the destination server. The input is optional. Default is 22.

Local port

The local port which is used for the SSH tunnel. The input is optional. The default value is computed by the system. But in case the computed port is already in use, you will get an error message. Then you can enter a different, not in use port here.

SSH username

The name of the SSH user in the destination server.

SSH password

The SSH password.

Private SSH key

The absolute path to the private SSH key file.

SSH key file password

...

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.

...

After entering the data you can click "Save and connect". The connection using SSH will using SSL will be established. When you hover over the name of the connection in the left navigation you will see the connection string used by the system.

 

Info

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/