Connection String Examples for Configuring Data Encryption
- Last Updated: March 16, 2026
- 1 minute read
- DataDirect Connectors
- ODBC
- Cloudera Impala 7.1
- dBase 7.1
- Flat files/Text 7.1
- MySQL 7.1
- Pervasive (Btrieve) 7.1
- XML 7.1
- Documentation
The following connection strings configure the Greenplum Wire Protocol driver to use data encryption via the SSL server authentication and SSL client authentication methods. These examples contain the connection options necessary to configure data encryption as well as the minimum options required to establish a connection.
SSL Server Authentication
This connection string configures the driver to use the SSL Server
Authentication method. In this configuration, since ValidateServerCertificate=1 and EnableFIPS=1, the driver
validates the certificate sent by the server and the host name specified by the
HostNameInCertificate option, and loads the FIPS provider for data encryption.
DSN=AcctGreenplumServer;EnableFIPS=1;EncryptionMethod=1;
HostName=GreenplumServer;HostNameInCertificate=MySubjectAltName;
PortNumber=5432;Truststore=TrustStoreLocation;Database=Accounting;
ValidateServerCertificate=1
SSL Client Authentication
This connection string configures the driver to use the SSL Server Authentication method.
In this configuration, since ValidateServerCertificate=1, the driver
validates the certificate sent by the server and the host name specified by
HostNameInCertificate.
DSN=AcctGreenplumServer;EncryptionMethod=1;HostName=GreenplumServer;
HostNameInCertificate=MySubjectAltName;KeyPassword=YourKeyPassword;
Keystore=KeyStoreLocation;KeystorePassword=YourKSPassword;PortNumber=5432;
Database=Accounting;ValidateServerCertificate=1