From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Allow specifying CRL directory |
Date: | 2021-02-18 07:16:25 |
Message-ID: | E1lCdY1-0004Eh-Oa@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Allow specifying CRL directory
Add another method to specify CRLs, hashed directory method, for both
server and client side. This offers a means for server or libpq to
load only CRLs that are required to verify a certificate. The CRL
directory is specifed by separate GUC variables or connection options
ssl_crl_dir and sslcrldir, alongside the existing ssl_crl_file and
sslcrl, so both methods can be used at the same time.
Author: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/20200731(dot)173911(dot)904649928639357911(dot)horikyota(dot)ntt(at)gmail(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f5465fade90827534fbd0b795d18dc62e56939e9
Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 2 +-
doc/src/sgml/config.sgml | 36 ++++++++++++++++++++++++-
doc/src/sgml/libpq.sgml | 28 ++++++++++++++++++-
src/backend/libpq/be-secure-openssl.c | 26 +++++++++++++++---
src/backend/libpq/be-secure.c | 1 +
src/backend/utils/misc/guc.c | 10 +++++++
src/backend/utils/misc/postgresql.conf.sample | 1 +
src/include/libpq/libpq.h | 1 +
src/interfaces/libpq/fe-connect.c | 6 +++++
src/interfaces/libpq/fe-secure-openssl.c | 24 ++++++++++++-----
src/interfaces/libpq/libpq-int.h | 1 +
src/test/ssl/Makefile | 24 ++++++++++++++++-
src/test/ssl/ssl/client-crldir/9bb9e3c3.r0 | 11 ++++++++
src/test/ssl/ssl/root+client-crldir/9bb9e3c3.r0 | 11 ++++++++
src/test/ssl/ssl/root+client-crldir/a3d11bff.r0 | 11 ++++++++
src/test/ssl/ssl/root+server-crldir/a3d11bff.r0 | 11 ++++++++
src/test/ssl/ssl/root+server-crldir/a836cc2d.r0 | 11 ++++++++
src/test/ssl/ssl/server-crldir/a836cc2d.r0 | 11 ++++++++
src/test/ssl/t/001_ssltests.pl | 32 ++++++++++++++++++++--
src/test/ssl/t/SSLServer.pm | 14 +++++++++-
20 files changed, 255 insertions(+), 17 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-02-18 07:55:19 | pgsql: Add tests for bytea LIKE operator |
Previous Message | Peter Geoghegan | 2021-02-18 05:14:25 | pgsql: nbtree README: move VACUUM linear scan section. |