From 5d38f1ea53c76b94f12b32fd48909822a59404d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 12 Jan 2007 22:40:45 +0000 Subject: [PATCH] test email, null subject dn git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19873 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/test_ca.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/hx509/test_ca.in b/lib/hx509/test_ca.in index b7e9cf769..a83d5fb22 100644 --- a/lib/hx509/test_ca.in +++ b/lib/hx509/test_ca.in @@ -116,13 +116,21 @@ ${hxtool} issue-certificate \ --req="pkcs10-request.der" \ --certificate="FILE:cert-ee.pem" || exit 1 +echo "issue certificate (email, null subject DN)" +${hxtool} issue-certificate \ + --ca-certificate=FILE:$srcdir/data/ca.crt,$srcdir/data/ca.key \ + --subject="" \ + --email="lha@test.h5l.se" \ + --req="pkcs10-request.der" \ + --certificate="FILE:cert-null.pem" || exit 1 + echo "issue certificate (jabber)" ${hxtool} issue-certificate \ --ca-certificate=FILE:$srcdir/data/ca.crt,$srcdir/data/ca.key \ --subject="cn=foo" \ --jid="lha@test.h5l.se" \ --req="pkcs10-request.der" \ - --certificate="FILE:cert-jabber.pem" || exit 1 + --certificate="FILE:cert-ee.pem" || exit 1 echo "issue self-signed cert" ${hxtool} issue-certificate \