Security and encryption v42.5.4.1
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