Security and encryption v42.7.3.2
PostgreSQL has native support for using SSL connections to encrypt client/server communications for increased security. This requires that OpenSSL is installed on both client and server systems and that support in PostgreSQL is enabled at build time.
using_ssl scram_compatibility support_for_gssapi_encrypted_connection