aboutsummaryrefslogtreecommitdiffstats
path: root/tests/certificates/cert-openssl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/certificates/cert-openssl.conf')
-rw-r--r--tests/certificates/cert-openssl.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/certificates/cert-openssl.conf b/tests/certificates/cert-openssl.conf
new file mode 100644
index 000000000..18bd0d79f
--- /dev/null
+++ b/tests/certificates/cert-openssl.conf
@@ -0,0 +1,16 @@
+[ req ]
+default_bits = 1024
+distinguished_name = req_distinguished_name
+x509_extensions = v3_ca
+dirstring_type = nobmp
+
+[ req_distinguished_name ]
+commonName = Common Name
+commonName_max = 64
+
+[ test_ca ]
+basicConstraints=CA:TRUE
+
+[ test_server ]
+basicConstraints=CA:FALSE
+extendedKeyUsage=serverAuth \ No newline at end of file