Create a crlnumber file when a CA is created using CA.pl
This commit is contained in:
parent
d4426e79a7
commit
6300c14248
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue