SSL (patch 9) - Mailing list pgsql-patches

From Bear Giles
Subject SSL (patch 9)
Date
Msg-id 200205250806.CAA12734@eris.coyotesong.com
Whole thread Raw
Responses Re: SSL (patch 9)
Re: SSL (patch 9)
List pgsql-patches
SSL patch that adds support for optional client certificates.

If the user has certificates in $HOME/.postgresql/postgresql.crt
and $HOME/.postgresql/postgresql.key exist, they are provided
to the server.  The certificate used to sign this cert must be
known to the server, in $DataDir/root.crt.  If successful, the
cert's "common name" is logged.

Client certs are not used for authentication, but they could be
via the port->peer (X509 *), port->peer_dn (char *) or
port->peer_cn (char *) fields.  Or any other function could be
used, e.g., many sites like the issuer + serial number hash.

Bear

Attachment

pgsql-patches by date:

Previous
From: Bear Giles
Date:
Subject: SSL (patch 8)
Next
From: Bear Giles
Date:
Subject: SSL (patch 10)