aboutsummaryrefslogtreecommitdiffstats
path: root/tests/certificates/cert-openssl.conf
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-02-06 16:03:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-02-06 16:52:32 +0800
commit83add78f2c14a083a8f3c1196382c11750be0251 (patch)
tree69b915378a86a2e8e975c95727926704d100a9d2 /tests/certificates/cert-openssl.conf
parent04f9f5866a77ffe6a944a1b1e59b2f277bb87a9e (diff)
downloadgsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.tar
gsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.tar.gz
gsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.tar.bz2
gsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.tar.lz
gsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.tar.xz
gsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.tar.zst
gsoc2013-empathy-83add78f2c14a083a8f3c1196382c11750be0251.zip
tests: Fix empathy-tls-test
* Create new certificates * Add a make target for rebuilding the certificates in the future https://bugzilla.gnome.org/show_bug.cgi?id=693190
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