X-Git-Url: https://code.wpia.club/?p=nre.git;a=blobdiff_plain;f=generateInfra.sh;h=e6b74fb944dbd8126ad071e20159494595c95eee;hp=bd1b872483998c36c2f40e1e560fea9135ed2a3c;hb=c4ec3f02627ad85f5794d457936ca125ce13e506;hpb=b51fdc2141a76347d08b5938b4af47ba2f612067 diff --git a/generateInfra.sh b/generateInfra.sh index bd1b872..e6b74fb 100755 --- a/generateInfra.sh +++ b/generateInfra.sh @@ -9,15 +9,16 @@ year=$1 . commonFunctions CRL=" -crlDistributionPoints=URI:http://g2.crl.cacert.org/g2/$year/env.crl -authorityInfoAccess = OCSP;URI:http://g2.ocsp.cacert.org,caIssuers;URI:http://g2.crt.cacert.org/$year/env.crt" +crlDistributionPoints=URI:http://g2.crl.cacert.org/g2/$year/env-1.crl +authorityInfoAccess = OCSP;URI:http://g2.ocsp.cacert.org,caIssuers;URI:http://g2.crt.cacert.org/$year/env-1.crt" cat < req.cnf basicConstraints = critical,CA:false keyUsage = keyEncipherment, digitalSignature extendedKeyUsage=serverAuth + subjectKeyIdentifier = hash -authorityKeyIdentifier = keyid:always,issuer:always +authorityKeyIdentifier = keyid:always $CRL TESTCA @@ -25,8 +26,9 @@ cat < reqClient.cnf basicConstraints = critical,CA:false keyUsage = keyEncipherment, digitalSignature extendedKeyUsage=clientAuth + subjectKeyIdentifier = hash -authorityKeyIdentifier = keyid:always,issuer:always +authorityKeyIdentifier = keyid:always $CRL TESTCA @@ -34,8 +36,9 @@ cat < reqMail.cnf basicConstraints = critical,CA:false keyUsage = keyEncipherment, digitalSignature extendedKeyUsage=emailProtection + subjectKeyIdentifier = hash -authorityKeyIdentifier = keyid:always,issuer:always +authorityKeyIdentifier = keyid:always $CRL TESTCA