Skip to content

Commit

Permalink
Create a crlnumber file when a CA is created using CA.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Apr 28, 2006
1 parent d4426e7 commit 6300c14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/CA.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 6300c14

Please sign in to comment.