Thread: pgsql: Add SSL tests for IP addresses in certificates

pgsql: Add SSL tests for IP addresses in certificates

From
Peter Eisentraut
Date:
Add SSL tests for IP addresses in certificates

This tests some scenarios that already work.  A subsequent patch will
introduce more functionality.

Author: Jacob Champion <pchampion@vmware.com>
Co-authored-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Co-authored-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/9f5f20974cd3a4091a788cf7f00ab663d5fcdffe.camel@vmware.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/af9e180495507a2b01f1bc31b7ea5125b8385903

Modified Files
--------------
src/test/ssl/conf/server-ip-cn-only.config    | 12 ++++++++++++
src/test/ssl/conf/server-ip-in-dnsname.config | 18 ++++++++++++++++++
src/test/ssl/ssl/server-ip-cn-only.crt        | 18 ++++++++++++++++++
src/test/ssl/ssl/server-ip-cn-only.key        | 27 +++++++++++++++++++++++++++
src/test/ssl/ssl/server-ip-in-dnsname.crt     | 18 ++++++++++++++++++
src/test/ssl/ssl/server-ip-in-dnsname.key     | 27 +++++++++++++++++++++++++++
src/test/ssl/sslfiles.mk                      |  2 ++
src/test/ssl/t/001_ssltests.pl                | 26 +++++++++++++++++++++++++-
8 files changed, 147 insertions(+), 1 deletion(-)