Security

The Security tab contains the authentication fields required to establish a secure connection with the MongoDB server.

Field Module Property? Description
Credential Type Yes Select the credential authentication to verify the user name and password when connecting to a MongoDB database. The following credential types are available:
  • None
  • CR Credential
  • SHA Credential
  • Kerberos
  • LDAP Plain
Note: On the Configuration tab, if you enter the SRV record URL or select the SRV Record check box, you must select the credential type as SHA Credential.
UserName Yes Specify the user name you created in the MongoDB database.

Condition: Available only when CR Credential, SHA Credential, LDAP Plain, or Kerberos is selected

Password Yes Specify the password that is used to access the database.

Condition: Available only when CR Credential, LDAP Plain, or SHA Credential is selected

SSL Yes Select this check box if you want to use the SSL authentication.
Key File Yes Specify the key file that your deployment uses to verify the user and the server.

Condition: Available only when the SSL check box is selected

Key Password Yes Specify the key password.

Condition: Available only when the SSL check box is selected

Trust File Yes Specify the trust file with CA.

Condition: Available only when the SSL check box is selected

Trust Password Yes Specify the trust password.

Condition: Available only when the SSL check box is selected

Allow Invalid Hostnames Yes When this check box is selected, MongoDB disables the validation of the host names in SSL certificates, allowing MongoDB to connect to the clients even if the host name in their certificates does not match the specified host name.
X509 Credential Yes Select this check box to use X.509 credential to connect to the MongoDB server.

Condition: Available only when the SSL check box is selected

Note: The SSL authentication works one-way when the Key File and Key Password fields are empty.