Make CA.pl script use CA extensions when creating a root CA.
This commit is contained in:
parent
adab80053d
commit
cb49a3cfa1
@ -113,6 +113,7 @@ foreach (@ARGV) {
|
|||||||
system ("$CA -create_serial " .
|
system ("$CA -create_serial " .
|
||||||
"-out ${CATOP}/$CACERT $CADAYS -batch " .
|
"-out ${CATOP}/$CACERT $CADAYS -batch " .
|
||||||
"-keyfile ${CATOP}/private/$CAKEY -selfsign " .
|
"-keyfile ${CATOP}/private/$CAKEY -selfsign " .
|
||||||
|
"-extensions v3_ca" .
|
||||||
"-infiles ${CATOP}/$CAREQ ");
|
"-infiles ${CATOP}/$CAREQ ");
|
||||||
$RET=$?;
|
$RET=$?;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user