summaryrefslogtreecommitdiff
path: root/tests/openssl.cnf
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-01-15 19:42:42 -0500
committerJameson Rollins <jrollins@finestructure.net>2010-01-15 19:42:42 -0500
commit17315937bc0af145ef7dfb749096faad49f208aa (patch)
treea4133ce12ec0f7cd291458833e05a11d39d624d5 /tests/openssl.cnf
parent11349dccbc0cb233bd8206897f278f6241c39117 (diff)
parent94c28acd69a41f5733e3b4d800c755b053ca3449 (diff)
Merge remote branch 'dkg/master'
Conflicts: tests/basic
Diffstat (limited to 'tests/openssl.cnf')
-rw-r--r--tests/openssl.cnf26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/openssl.cnf b/tests/openssl.cnf
new file mode 100644
index 0000000..3456dc5
--- /dev/null
+++ b/tests/openssl.cnf
@@ -0,0 +1,26 @@
+# OpenSSL configuration for the purposes of the monkeysphere test suite:
+
+# This definition stops the following lines choking if HOME isn't
+# defined.
+HOME = .
+RANDFILE = $ENV::HOME/.rnd
+
+[ req ]
+attributes = req_attributes
+x509_extensions = monkeysphere_self_signed
+distinguished_name = req_dn
+attributes = req_attrs
+
+[ monkeysphere_self_signed ]
+
+# Just generate an X.509 cert that is for specific use as a TLS server
+basicConstraints = CA:FALSE
+keyUsage = digitalSignature, keyEncipherment
+extendedKeyUsage = serverAuth
+nsCertType = server
+
+[ req_dn ]
+commonName = Common Name
+commonName_max = 64
+
+[ req_attrs ]