#echo openssl x509 -req $ROOT_VALIDITY -in root.ca/key.csr -signkey root.ca/key.key -out root.ca/key.crt -extfile ca.cnf
rootSign root
# generate the various sub-CAs
for ca in "${STRUCT_CAS[@]}"; do
. ../CAs/$ca
#echo openssl x509 -req $ROOT_VALIDITY -in root.ca/key.csr -signkey root.ca/key.key -out root.ca/key.crt -extfile ca.cnf
rootSign root
# generate the various sub-CAs
for ca in "${STRUCT_CAS[@]}"; do
. ../CAs/$ca