CData Python Connector for MySQL

Build 25.0.9454

UseSSL

This property determines whether Secure Sockets Layer (SSL) is enabled for communication. By default, SSL is set to 'false', meaning that communications are not encrypted unless explicitly enabled.

Data Type

bool

Default Value

false

Remarks

This property specifies whether the connector attempts to establish secure connections using TLS/SSL when communicating with a server. When enabled (set to 'true'), the system initiates a TLS/SSL handshake to negotiate a secure communication channel.

  • Default Behavior: If SSL is not enabled, the communication occurs without encryption, and no SSL/TLS handshake takes place.
  • Trusted Certificates: When SSL is enabled, the connector verifies the server’s certificate against the system’s trusted certificate store. This ensures that the server is trusted and that the connection is secure.
  • Custom Certificates: To use a custom server certificate (rather than relying on the system's trusted store), you can set this property to 'true' and then specify the certificate by setting the SSLServerCert property.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454