EncryptionMethod
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Determines whether SSL encryption is used to encrypt and decrypt data transmitted over the network between the driver and database server.
Valid Values
noEncryption | SSL
Behavior
If set to noEncryption, data is not
encrypted or decrypted.
If set to SSL, data is encrypted using
SSL. If the database server does not support SSL, the connection fails and the driver throws
an exception.
Notes
- Connection hangs can occur if the driver attempts to connect to a database server that does not support SSL. You may want to set a login timeout using the LoginTimeout property to avoid problems when connecting to a server that does not support SSL.
- When SSL is enabled, the following properties also apply:
CryptoProtocolVersion
HostNameInCertificate
KeyStore (for SSL client authentication)
KeyStorePassword (for SSL client authentication)
KeyPassword (for SSL client authentication)
TrustStore
TrustStorePassword
ValidateServerCertificate
Default
noEncryption
Data Type
String