summaryrefslogtreecommitdiffstats
path: root/src/test/ssl/client-dn.config
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ssl/client-dn.config')
-rw-r--r--src/test/ssl/client-dn.config16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ssl/client-dn.config b/src/test/ssl/client-dn.config
new file mode 100644
index 0000000..ee2df54
--- /dev/null
+++ b/src/test/ssl/client-dn.config
@@ -0,0 +1,16 @@
+# An OpenSSL format CSR config file for creating a client certificate.
+#
+# The certificate is for user "ssltestuser-dn" with a multi-part DN
+
+[ req ]
+distinguished_name = req_distinguished_name
+prompt = no
+
+[ req_distinguished_name ]
+O = PGDG
+0.OU = Engineering
+1.OU = Testing
+CN = ssltestuser-dn
+
+# no extensions in client certs
+[ v3_req ]