EPUB | CHM | PDF

TMySQLDatabase.Properties.SSLProperties

Top Previous Next

Sets options for SSL connection (encrypted protocol).

Syntax:

property SSLProperties: TSSLProperties

Description:

The value of ConnectOptions is usually empty set [], but it can be set to a combination of the following flags in very special circumstances:

SSLCert

Containing the X.509 certificate.

SSLKey

Containing the Key for the X.509 certificate.

SSLCACert

Containing the Key for the authority certificate.

SSLLibName

The SSL library file.

SSLCryptoLibName

The SSL cryptography library file.

SSLCipherList

The cipher suite list.

TLSVersion

TLS protocol version.

 

To force client library to use SSL encryption, you should add coSSL option to ConnectOptions property value . To make sure that SSL encryption is really performed, please check IsSSLUsed property value after connection is established.

note To use SSL connections between the MySQL server and client programs, your system must be able to support OpenSSL and your version of MySQL must be 4.0.0 or newer and your MySQL server must be properly configured for SSL support. Please refer to the MySQL manual for details: http://dev.mysql.com/doc/

note DAC for MySQL had been tested with OpenSSL 0.9.8, 1.02, and 1.1.1 binaries. Please let us know if you have any problems with newer versions of OpenSSL. Our Support Ticketing system is available at http://microolap.com/support/

Don't forget to add MySQLTypes to your uses section.

See also: ConnectOptions, IsSSLUsed properties