You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by jo...@apache.org on 2005/02/10 14:42:13 UTC

svn commit: r153224 - perl/Apache-Test/lib/Apache/TestSSLCA.pm

Author: jorton
Date: Thu Feb 10 05:42:12 2005
New Revision: 153224

URL: http://svn.apache.org/viewcvs?view=rev&rev=153224
Log:
Add a comment extension to issued certificats.

Modified:
    perl/Apache-Test/lib/Apache/TestSSLCA.pm

Modified: perl/Apache-Test/lib/Apache/TestSSLCA.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/lib/Apache/TestSSLCA.pm?view=diff&r1=153223&r2=153224
==============================================================================
--- perl/Apache-Test/lib/Apache/TestSSLCA.pm (original)
+++ perl/Apache-Test/lib/Apache/TestSSLCA.pm Thu Feb 10 05:42:12 2005
@@ -239,6 +239,10 @@
 organizationalUnitName	= optional
 commonName		= supplied
 emailAddress		= optional
+
+[ comment ]
+nsComment = This Is A Comment
+
 EOF
 
     return $file;
@@ -310,7 +314,7 @@
     my $name = shift;
 
     openssl ca => "$capolicy -in csr/$name.csr -out certs/$name.crt",
-                  $passin, config($name), '-batch';
+                  $passin, config($name), '-batch -extensions comment';
 }
 
 #handy for importing into a browser such as netscape