summaryrefslogtreecommitdiffstats
path: root/src/test/ssl/root_ca.config
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ssl/root_ca.config')
-rw-r--r--src/test/ssl/root_ca.config13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ssl/root_ca.config b/src/test/ssl/root_ca.config
new file mode 100644
index 0000000..187a9b8
--- /dev/null
+++ b/src/test/ssl/root_ca.config
@@ -0,0 +1,13 @@
+# A root certificate authority. The server and client CA's certificates
+# are signed by this root CA.
+
+[ req ]
+distinguished_name = req_distinguished_name
+prompt = no
+
+[ req_distinguished_name ]
+CN = Test root CA for PostgreSQL SSL regression test suite
+
+# Extensions for CA certs
+[ v3_ca ]
+basicConstraints = CA:true