RefLib

Reference library for AI

Back

postgresql_16:9.6.42 sslinfo — obtain client SSL information

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > sslinfo — obtain client SSL information

The sslinfo module provides information about the SSL certificate that the current client provided when connecting to PostgreSQL. The module is useless (most functions will return NULL) if the current connection does not use SSL.

Some of the information available through this module can also be obtained using the built-in system view pg_stat_ssl (see postgresql_16:4.13.2.10).

This extension won't build at all unless the installation was configured with --with-ssl=openssl.

Subsections

Back