Fixed missing certificate chain in cisco certs.
FossilOrigin-Name: 3f22f82b9b04cc181f7c0c124cf7642ce07f404a62bbced1922b7f681e198865
This commit is contained in:
parent
1e884be4f1
commit
eeaa84b9fe
@ -46,17 +46,21 @@ openssl ca -config openssl-simple.cnf \
|
||||
-batch \
|
||||
-out $DIR/$NAME.crt -infiles $DIR/$NAME.req
|
||||
|
||||
openssl x509 -in $DIR/$NAME.crt -out $DIR/$NAME.pem
|
||||
|
||||
else
|
||||
openssl ca -config openssl-int.cnf \
|
||||
-keyfile $INT_CA_DIR/${PREF}int-ca.key \
|
||||
-cert $INT_CA_DIR/${PREF}int-ca.crt \
|
||||
-batch \
|
||||
-out $DIR/$NAME.crt -infiles $DIR/$NAME.req
|
||||
|
||||
|
||||
openssl x509 -in $DIR/$NAME.crt -out $DIR/$NAME.pem
|
||||
cat $INT_CA_DIR/${PREF}int-ca.crt >> $DIR/$NAME.pem
|
||||
cat $ROOT_CA_DIR/${PREF}root-ca.crt >> $DIR/$NAME.pem
|
||||
fi
|
||||
|
||||
openssl x509 -in $DIR/$NAME.crt -out $DIR/$NAME.pem
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user