From: Dr. Stephen Henson Date: Fri, 28 Apr 2006 00:28:51 +0000 (+0000) Subject: Create a crlnumber file when a CA is created using CA.pl X-Git-Tag: OpenSSL_0_9_8b~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6300c14248c35da8d31c6575a345ccf8bf41e378;p=openssl Create a crlnumber file when a CA is created using CA.pl --- diff --git a/apps/CA.pl.in b/apps/CA.pl.in index f8170f81ba..c783a6e6a5 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -94,6 +94,9 @@ foreach (@ARGV) { mkdir "${CATOP}/private", $DIRMODE; open OUT, ">${CATOP}/index.txt"; close OUT; + open OUT, ">${CATOP}/crlnumber"; + print OUT "01\n"; + close OUT; } if ( ! -f "${CATOP}/private/$CAKEY" ) { print "CA certificate filename (or enter to create)\n";