X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=generateTime.sh;h=0b0b0b4e8da46018c3e05aa1392635824acb166a;hb=c4ec3f02627ad85f5794d457936ca125ce13e506;hp=71aa918f08ca896f6c46d9bb5e05c6ece7b223d4;hpb=0d0307980a0f183c5ee3e73184593b1ed9640e1e;p=nre.git diff --git a/generateTime.sh b/generateTime.sh index 71aa918..0b0b0b4 100755 --- a/generateTime.sh +++ b/generateTime.sh @@ -9,8 +9,11 @@ year=$1 genTimeCA(){ #csr,ca to sign with,start,end cat < timesubca.cnf basicConstraints = CA:true -subjectKeyIdentifier = hash keyUsage = keyCertSign, cRLSign + +subjectKeyIdentifier = hash +authorityKeyIdentifier = keyid:always + crlDistributionPoints=URI:http://g2.crl.cacert.org/g2/$2.crl authorityInfoAccess = OCSP;URI:http://g2.ocsp.cacert.org,caIssuers;URI:http://g2.crt.cacert.org/$2.crt TESTCA @@ -22,7 +25,7 @@ mkdir -p $year/ca STARTDATE="${year}" -ENDDATE="$((${year} + 2))" +ENDDATE="$((${year} + 3))" for i in $TIME_IDX; do point=${points[${i}]}