]> begriffs open source - ai-pg/blob - full-docs/txt/auth-cert.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / auth-cert.txt
1
2 20.12. Certificate Authentication #
3
4    This authentication method uses SSL client certificates to perform
5    authentication. It is therefore only available for SSL connections; see
6    Section 18.9.2 for SSL configuration instructions. When using this
7    authentication method, the server will require that the client provide
8    a valid, trusted certificate. No password prompt will be sent to the
9    client. The cn (Common Name) attribute of the certificate will be
10    compared to the requested database user name, and if they match the
11    login will be allowed. User name mapping can be used to allow cn to be
12    different from the database user name.
13
14    The following configuration options are supported for SSL certificate
15    authentication:
16
17    map
18           Allows for mapping between system and database user names. See
19           Section 20.2 for details.
20
21    It is redundant to use the clientcert option with cert authentication
22    because cert authentication is effectively trust authentication with
23    clientcert=verify-full.