sslinfo
information about SSL certificates
sslinfo : information about SSL certificates
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 6920 | sslinfo | sslinfo | 1.2 |
STAT | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| See Also | sslutils pg_oidc_validator oidc_validator pguecc pg_session_jwt pgjwt login_hook |
Packages
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
This is a built-in contrib extension ship with the PostgreSQL kernel
Install
Create this extension with:
Usage
sslinfo provides functions to access information about the SSL certificate used in the current database connection.
Functions
Notes
- Most functions return NULL if the connection does not use SSL
- Requires PostgreSQL compiled with OpenSSL support
- The combination of
ssl_client_serial()andssl_issuer_dn()uniquely identifies a certificate