Обсуждение: pgsql: Add parameters for controlling locations of server-side SSL file

Поиск
Список
Период
Сортировка

pgsql: Add parameters for controlling locations of server-side SSL file

От
Peter Eisentraut
Дата:
Add parameters for controlling locations of server-side SSL files

This allows changing the location of the files that were previously
hard-coded to server.crt, server.key, root.crt, root.crl.

server.crt and server.key continue to be the default settings and are
thus required to be present by default if SSL is enabled.  But the
settings for the server-side CA and CRL are now empty by default, and
if they are set, the files are required to be present.  This replaces
the previous behavior of ignoring the functionality if the files were
not found.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a445cb92ef5b3a31313ebce30e18cc1d6e0bdecb

Modified Files
--------------
doc/src/sgml/config.sgml                      |   64 +++++++++++++++
doc/src/sgml/runtime.sgml                     |   36 +++++----
src/backend/libpq/be-secure.c                 |  109 ++++++++++---------------
src/backend/libpq/hba.c                       |    2 +-
src/backend/utils/misc/guc.c                  |   41 +++++++++
src/backend/utils/misc/postgresql.conf.sample |    4 +
src/include/libpq/libpq.h                     |    5 +
7 files changed, 180 insertions(+), 81 deletions(-)