PgDAC

TSSLMode Enumeration

This option determines whether or with what priority an SSL connection will be negotiated with the server.

Unit

PgClasses

Syntax

TSSLMode = (smDisable, smRequire, smPrefer, smAllow);

Values

Value Meaning
smAllow Negotiates trying first a non-SSL connection, then if that fails, tries an SSL connection.
smDisable Only an unencrypted SSL connection will be attempted.
smPrefer Negotiates trying first an SSL connection, then if that fails, tries a regular non-SSL connection.
smRequire Tries only an SSL connection.

Remarks

If PostgreSQL is compiled without SSL support, using option smRequire will cause an error, while options smAllow and smPrefer will be accepted, but PgDAC will not in fact attempt an SSL connection.

© 1997-2018 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback