Class SslMode (0.3.16)

SslMode(value)

SSL mode options.

Enums

Name Description
SSL_MODE_UNSPECIFIED SSL mode is not specified. Defaults to ENCRYPTED_ONLY.
SSL_MODE_ALLOW SSL connections are optional. CA verification not enforced.
SSL_MODE_REQUIRE SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
SSL_MODE_VERIFY_CA SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, for example, using GenerateClientCertificate.
ALLOW_UNENCRYPTED_AND_ENCRYPTED SSL connections are optional. CA verification not enforced.
ENCRYPTED_ONLY SSL connections are required. CA verification not enforced.