pgpool2.git / summary / log / commit / refs
commit b297e703e06e9e4a24383f7ebacd57413d76cce9
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Sat Sep 29 13:13:05 2018 +0000
Try to fix regression test 024 failure.
It seems the valid period of root cert is default to now.
Set it to from now to 1 year after. See if this works.
src/test/regression/tests/024.cert_auth/cert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/regression/tests/024.cert_auth/cert.sh b/src/test/regression/tests/024.cert_auth/cert.sh
index 66d3f60a8..e3634323e 100755
--- a/src/test/regression/tests/024.cert_auth/cert.sh
+++ b/src/test/regression/tests/024.cert_auth/cert.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Create root cert
-openssl req -new -x509 -nodes -out root.crt -keyout root.key -subj /CN=MyRootCA
+openssl req -new -x509 -nodes -out root.crt -keyout root.key -days 365 -subj /CN=MyRootCA
# PostgreSQL/Pgpool cert
openssl req -new -out server.req -keyout server.key -nodes -subj "/CN=postgresql"
openssl x509 -req -in server.req -CAkey root.key -CA root.crt -days 365 -CAcreateserial -out server.crt
[parent: a4c666c31ab9]