summaryrefslogtreecommitdiffstats
path: root/src/test/ssl/server-no-names.config
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ssl/server-no-names.config')
-rw-r--r--src/test/ssl/server-no-names.config16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ssl/server-no-names.config b/src/test/ssl/server-no-names.config
new file mode 100644
index 0000000..2a71125
--- /dev/null
+++ b/src/test/ssl/server-no-names.config
@@ -0,0 +1,16 @@
+# An OpenSSL format CSR config file for creating a server certificate.
+#
+# This certificate contains no CN, nor SANs. Not very useful, but make
+# sure the client can handle it gracefully.
+
+[ req ]
+distinguished_name = req_distinguished_name
+prompt = no
+
+[ req_distinguished_name ]
+OU = PostgreSQL test suite
+
+# For Subject Alternative Names
+[ v3_req ]
+
+[ alt_names ]