]> granicus.if.org Git - postgresql/commit
Add a regression test suite for SSL support.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 9 Dec 2014 15:21:18 +0000 (17:21 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 9 Dec 2014 15:37:20 +0000 (17:37 +0200)
commite39250c644ea7cd3904e4e24570db21a209cf97f
tree17d07b01a88d874de1df1acde17b4d94aa87a4da
parentdcbfc00aba1ee4329fea20ad58e13a84848df993
Add a regression test suite for SSL support.

It's not run by the global "check" or "installcheck" targets, because the
temporary installation it creates accepts TCP connections from any user
the same host, which is insecure.
50 files changed:
src/test/Makefile
src/test/ssl/Makefile [new file with mode: 0644]
src/test/ssl/README [new file with mode: 0644]
src/test/ssl/ServerSetup.pm [new file with mode: 0644]
src/test/ssl/cas.config [new file with mode: 0644]
src/test/ssl/client.config [new file with mode: 0644]
src/test/ssl/client_ca.config [new file with mode: 0644]
src/test/ssl/root_ca.config [new file with mode: 0644]
src/test/ssl/server-cn-and-alt-names.config [new file with mode: 0644]
src/test/ssl/server-cn-only.config [new file with mode: 0644]
src/test/ssl/server-multiple-alt-names.config [new file with mode: 0644]
src/test/ssl/server-no-names.config [new file with mode: 0644]
src/test/ssl/server-revoked.config [new file with mode: 0644]
src/test/ssl/server-single-alt-name.config [new file with mode: 0644]
src/test/ssl/server_ca.config [new file with mode: 0644]
src/test/ssl/ssl/.gitignore [new file with mode: 0644]
src/test/ssl/ssl/both-cas-1.crt [new file with mode: 0644]
src/test/ssl/ssl/both-cas-2.crt [new file with mode: 0644]
src/test/ssl/ssl/client-revoked.crt [new file with mode: 0644]
src/test/ssl/ssl/client-revoked.key [new file with mode: 0644]
src/test/ssl/ssl/client.crl [new file with mode: 0644]
src/test/ssl/ssl/client.crt [new file with mode: 0644]
src/test/ssl/ssl/client.key [new file with mode: 0644]
src/test/ssl/ssl/client_ca.crt [new file with mode: 0644]
src/test/ssl/ssl/client_ca.key [new file with mode: 0644]
src/test/ssl/ssl/root+client.crl [new file with mode: 0644]
src/test/ssl/ssl/root+client_ca.crt [new file with mode: 0644]
src/test/ssl/ssl/root+server.crl [new file with mode: 0644]
src/test/ssl/ssl/root+server_ca.crt [new file with mode: 0644]
src/test/ssl/ssl/root.crl [new file with mode: 0644]
src/test/ssl/ssl/root_ca.crt [new file with mode: 0644]
src/test/ssl/ssl/root_ca.key [new file with mode: 0644]
src/test/ssl/ssl/server-cn-and-alt-names.crt [new file with mode: 0644]
src/test/ssl/ssl/server-cn-and-alt-names.key [new file with mode: 0644]
src/test/ssl/ssl/server-cn-only.crt [new file with mode: 0644]
src/test/ssl/ssl/server-cn-only.key [new file with mode: 0644]
src/test/ssl/ssl/server-multiple-alt-names.crt [new file with mode: 0644]
src/test/ssl/ssl/server-multiple-alt-names.key [new file with mode: 0644]
src/test/ssl/ssl/server-no-names.crt [new file with mode: 0644]
src/test/ssl/ssl/server-no-names.key [new file with mode: 0644]
src/test/ssl/ssl/server-revoked.crt [new file with mode: 0644]
src/test/ssl/ssl/server-revoked.key [new file with mode: 0644]
src/test/ssl/ssl/server-single-alt-name.crt [new file with mode: 0644]
src/test/ssl/ssl/server-single-alt-name.key [new file with mode: 0644]
src/test/ssl/ssl/server-ss.crt [new file with mode: 0644]
src/test/ssl/ssl/server-ss.key [new file with mode: 0644]
src/test/ssl/ssl/server.crl [new file with mode: 0644]
src/test/ssl/ssl/server_ca.crt [new file with mode: 0644]
src/test/ssl/ssl/server_ca.key [new file with mode: 0644]
src/test/ssl/t/001_ssltests.pl [new file with mode: 0644]