TSSLMode Enumeration

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




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


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.


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-2019 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback