Summary of security-related options
- Last Updated: October 27, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- MongoDB 8.0
- Documentation
The following table summarizes how security-related connection options work with the drivers. See "Connection option descriptions" for details about configuring the options.
| Option | Description |
|---|---|
| Encryption Method (EncryptionMethod) | The method used to encrypt data sent between the driver or Schema Tool and the database server. For the driver: 0 | 1For the Schema Tool: noEncryption | SSL If set to 0 (No Encryption) or noEncryption, data is not encrypted. If set to 1 (SSL) or SSL, data is encrypted using SSL. If the server is not configured for SSL, the connection fails. Default: For the driver: 0 (No Encryption) For the Schema Tool: noEncryption |
| Host Name In Certificate (HostNameInCertificate) | A host name for certificate validation when SSL
encryption is enabled (Encryption Method=1) and
validation is enabled (Validate Server
Certificate=1). Default: None |
| Key Password (KeyPassword) | The password required to access an individual key in
the keystore. Default: None |
| Key Store (Keystore) | The absolute path and file name that specifies the
location of the keystore file. Default: None |
| Key Store Password (KeystorePassword) | The password required to access the
keystore. Default: None |
| Trust Store (Truststore) | The absolute path and file name that specifies the
location of the truststore file. Default: None |
| Trust Store Password (TruststorePassword) | The password required to access the
truststore. Default: None |
| User Name (LogonID) | The default user ID used to connect to your
database. Default: None |
| Validate Server Certificate (ValidateServerCertificate) | Determines whether the driver and/or Schema Tool validates the certificate that is sent by the database server when SSL encryption is enabled. For the driver: 0 | 1 For the Schema Tool: true | false If set to 1 or true (Enabled), the driver or Schema Tool validates the certificate that is sent by the database server.Default: For the driver: 1 (Enabled) For the Schema Tool: true (Enabled) |