postgresql_16:5.1.19 SSL Support
PostgreSQL 16 > Client Interfaces > libpq — C Library > SSL Support
PostgreSQL has native support for using SSL connections to encrypt client/server communications using TLS protocols for increased security. See (see postgresql_16:4.4.9) for details about the server-side SSL functionality.
libpq reads the system-wide OpenSSL configuration file. By default, this file is named openssl.cnf and is located in the directory reported by openssl version -d. This default can be overridden by setting environment variable OPENSSL_CONF to the name of the desired configuration file.
Subsections
- postgresql_16:5.1.19.1 Client Verification of Server Certificates
- postgresql_16:5.1.19.2 Client Certificates
- postgresql_16:5.1.19.3 Protection Provided in Different Modes
- postgresql_16:5.1.19.4 SSL Client File Usage
- postgresql_16:5.1.19.5 SSL Library Initialization