summaryrefslogtreecommitdiff
path: root/test/ref/crypt/ca.cnf
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-08 11:58:38 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-08 11:58:38 +0100
commita353528b070fe264ce60220b4af07d0561494def (patch)
tree341e62026ad366a548836019b49c5789e70525a7 /test/ref/crypt/ca.cnf
parentc1763d2ca9cb4dd38d9eec28f6304f45b29bf9d5 (diff)
Improve certificate handling a bit and fix up tests.encryption
Diffstat (limited to 'test/ref/crypt/ca.cnf')
-rw-r--r--test/ref/crypt/ca.cnf12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ref/crypt/ca.cnf b/test/ref/crypt/ca.cnf
new file mode 100644
index 00000000..99a31f65
--- /dev/null
+++ b/test/ref/crypt/ca.cnf
@@ -0,0 +1,12 @@
+[ req ]
+distinguished_name = req_distinguished_name
+x509_extensions = v3_ca
+[ v3_ca ]
+basicConstraints = critical,CA:true,pathlen:3
+keyUsage = keyCertSign,cRLSign
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid:always,issuer:always
+[ req_distinguished_name ]
+O = Unique organization name
+OU = Organization unit
+CN = Entity and dnQualifier