aboutsummaryrefslogtreecommitdiff
path: root/tests/auth/self-openssl.cnf
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-08 17:36:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-08 18:39:16 +0300
commit0bda1e43269af186e0b61280410e4630d67c5fcb (patch)
tree1c135053161351bc3ca61f2d85c7b4733f3f8386 /tests/auth/self-openssl.cnf
parent0be7b61b12b6cefa91e01065046975e71245b8ea (diff)
Add support for certificate name subdomain wildcard
Diffstat (limited to 'tests/auth/self-openssl.cnf')
-rw-r--r--tests/auth/self-openssl.cnf22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auth/self-openssl.cnf b/tests/auth/self-openssl.cnf
new file mode 100644
index 0000000..a4a8fa8
--- /dev/null
+++ b/tests/auth/self-openssl.cnf
@@ -0,0 +1,22 @@
+repository = *build2.org
+company = Code Synthesis
+email = info@build2.org
+
+
+[ req ]
+
+distinguished_name = req_distinguished_name
+x509_extensions = v3_req
+prompt = no
+utf8 = yes
+
+[ req_distinguished_name ]
+
+O = $company
+CN = name:$repository
+
+[ v3_req ]
+
+keyUsage = critical,digitalSignature
+extendedKeyUsage = critical,codeSigning
+subjectAltName = email:$email