Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Create 5 year Intermediate Certificate
[aaf/authz.git]
/
conf
/
CA
/
newIntermediate.sh
diff --git
a/conf/CA/newIntermediate.sh
b/conf/CA/newIntermediate.sh
index
88b524b
..
9410305
100644
(file)
--- 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 \
# 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
-infiles $DIR/$CN.csr
openssl x509 -text -noout -in $DIR/certs/ca.crt