Purpose

Determines whether data is encrypted and decrypted when 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.

Notes

  • Connection hangs can occur when the driver is configured for SSL and the database server 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.
  • 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. When SSL is enabled, the following properties also apply:

    CryptoProtocolVersion

    HostNameInCertificate

    TrustStore

    TrustStorePassword

    ValidateServerCertificate

Default

noEncryption

Data Type

String

See also

Data Encryption

Performance Considerations