Issue and test null subject cert.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21300 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-25 15:48:55 +00:00
parent 75a8cbee85
commit 70013f4851

View File

@@ -408,4 +408,17 @@ ${hxtool} issue-certificate \
--subject="cn=cert-ee-crl-uri" \
--certificate="FILE:cert-ee.pem" || exit 1
echo "issue null subject cert"
${hxtool} issue-certificate \
--ca-certificate=FILE:cert-ca.pem \
--req="pkcs10-request.der" \
--subject="" \
--email="lha@test.h5l.se" \
--certificate="FILE:cert-ee.pem" || exit 1
echo "verify certificate null subject"
${hxtool} verify --missing-revoke \
cert:FILE:cert-ee.pem \
anchor:FILE:cert-ca.pem > /dev/null || exit 1
exit 0