RefLib

Reference library for AI

Back

postgresql_16:5.1.19.4 SSL Client File Usage

PostgreSQL 16 > Client Interfaces > libpq — C Library > SSL Support > SSL Client File Usage

(see libpq-ssl-file-usage) summarizes the files that are relevant to the SSL setup on the client.

| File | Contents | Effect | | --- | --- | --- | | ~/.postgresql/postgresql.crt | client certificate | sent to server | | ~/.postgresql/postgresql.key | client private key | proves client certificate sent by owner; does not indicate certificate owner is trustworthy | | ~/.postgresql/root.crt | trusted certificate authorities | checks that server certificate is signed by a trusted certificate authority | | ~/.postgresql/root.crl | certificates revoked by certificate authorities | server certificate must not be on this list |

Back