summaryrefslogtreecommitdiff
path: root/src/test/ssl/cas.config
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-11-27 15:16:14 +0100
committerPeter Eisentraut <peter_e@gmx.net>2018-11-27 15:16:14 +0100
commitf17889b2214194d7bd33900509bf08959d5a7efa (patch)
tree26f2dc188a1658adbdb99e67cfdf8886c957ffed /src/test/ssl/cas.config
parent4c8750a9cc3402e4d8ec0b47901c2f9ca416b718 (diff)
downloadpostgresql-f17889b2214194d7bd33900509bf08959d5a7efa.tar.gz
Update ssl test certificates and keys
Debian testing and newer now require that RSA and DHE keys are at least 2048 bit long and no longer allow SHA-1 for signatures in certificates. This is currently causing the ssl tests to fail there because the test certificates and keys have been created in violation of those conditions. Update the parameters to create the test files and create a new set of test files. Author: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> Reported-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/20180917131340.GE31460%40paquier.xyz
Diffstat (limited to 'src/test/ssl/cas.config')
-rw-r--r--src/test/ssl/cas.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ssl/cas.config b/src/test/ssl/cas.config
index 013cebae16..8c0ef6d82b 100644
--- a/src/test/ssl/cas.config
+++ b/src/test/ssl/cas.config
@@ -13,7 +13,7 @@ basicConstraints = CA:true
dir = ./ssl/
database = ./ssl/root_ca-certindex
serial = ./ssl/root_ca.srl
-default_md = sha1
+default_md = sha256
default_days= 10000
default_crl_days= 10000
certificate = ./ssl/root_ca.crt
@@ -26,7 +26,7 @@ email_in_dn = no
[ server_ca ]
dir = ./ssl/
database = ./ssl/server_ca-certindex
-default_md = sha1
+default_md = sha256
default_days= 10000
default_crl_days= 10000
certificate = ./ssl/server_ca.crt
@@ -42,7 +42,7 @@ crl = ./ssl/server.crl
[ client_ca ]
dir = ./ssl/
database = ./ssl/client_ca-certindex
-default_md = sha1
+default_md = sha256
default_days= 10000
default_crl_days= 10000
certificate = ./ssl/client_ca.crt