aboutsummaryrefslogtreecommitdiff
path: root/tests/auth/default-openssl.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth/default-openssl.cnf')
-rw-r--r--tests/auth/default-openssl.cnf22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auth/default-openssl.cnf b/tests/auth/default-openssl.cnf
new file mode 100644
index 0000000..c14ec06
--- /dev/null
+++ b/tests/auth/default-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