Create a crlnumber file when a CA is created using CA.pl

This commit is contained in:
Dr. Stephen Henson 2006-04-28 00:28:51 +00:00
parent d4426e79a7
commit 6300c14248

View file

@ -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";