X-Git-Url: https://code.wpia.club/?p=nre.git;a=blobdiff_plain;f=generateKeys.sh;h=353acb15773b3dc47c336b7a2adc9ec154e42174;hp=8ddc79ca4a03c12180abc550bcc327f3fd36c9ee;hb=6ba8d258f7f3601d8e0be4425f790210b4ea4a87;hpb=69a024b8652e0f0c5203954f322b79a3f0096446 diff --git a/generateKeys.sh b/generateKeys.sh index 8ddc79c..353acb1 100755 --- a/generateKeys.sh +++ b/generateKeys.sh @@ -31,7 +31,8 @@ rootSign(){ # csr # Generate the super Root CA genca "/CN=Cacert-gigi testCA" root -openssl x509 -req -days 365 -in root.ca/key.csr -signkey root.ca/key.key -out root.ca/key.crt -extfile ca.cnf +#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