From a791b1ce0fa2bc9859474fb6f7a9c0ff8cbd1d4a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Feb 2017 00:58:53 +0300 Subject: Port test.sh to testscript --- tests/auth/mismatch-openssl.cnf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/auth/mismatch-openssl.cnf (limited to 'tests/auth/mismatch-openssl.cnf') diff --git a/tests/auth/mismatch-openssl.cnf b/tests/auth/mismatch-openssl.cnf new file mode 100644 index 0000000..0c328d0 --- /dev/null +++ b/tests/auth/mismatch-openssl.cnf @@ -0,0 +1,22 @@ +repository = build2.org/mismatched/name +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 -- cgit v1.1