require
- only try an
SSL> connection
+ only try an
SSL> connection. If a root CA
+ file is present, verify the certificate in the same way as
+ if verify-ca was specified
the connection parameters sslrootcert> and sslcrl>
or the environment variables PGSSLROOTCERT> and PGSSLCRL>.
+
+
+ For backwards compatibility with earlier versions of PostgreSQL, if a
+ root CA file exists, the behavior of
+ sslmode=require will be the same
+ as that of verify-ca, meaning the sever certificate
+ is validated against the CA. Relying on this behavior is discouraged,
+ and applications that need certificate validation should always use
+ validate-ca or validate-full.
+
+