X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=conf%2FCA%2FnewIntermediate.sh;h=94103051f1949e5a6c7bfacb0d3bbf5451113e48;hb=8601af6961266538a0dd39e36a90a7cd483df029;hp=88b524b92dcf42173f806b4baa624cb0ef0b589a;hpb=df9e827fa3ec1c7e32b5f5eb7a63a4c11f9da4a7;p=aaf%2Fauthz.git diff --git a/conf/CA/newIntermediate.sh b/conf/CA/newIntermediate.sh index 88b524b9..94103051 100644 --- a/conf/CA/newIntermediate.sh +++ b/conf/CA/newIntermediate.sh @@ -44,7 +44,8 @@ EOF # Sign it openssl ca -config openssl.conf -extensions v3_intermediate_ca \ - -cert certs/ca.crt -keyfile private/ca.key -out $DIR/certs/ca.crt \ + -days 1826 \ + -cert certs/ca.crt -keyfile private/ca.key -out $DIR/certs/ca.crt \ -infiles $DIR/$CN.csr openssl x509 -text -noout -in $DIR/certs/ca.crt