1
0
Fork 0

openssl-little-CA: using for signing

This commit is contained in:
Chl 2020-11-23 01:43:02 +01:00
parent 3176408e0c
commit f27585fe99

View file

@ -177,7 +177,7 @@ case $1 in
exit $RET exit $RET
;; ;;
-sign|-signreq) -sign|-signreq)
$CA -policy policy_anything -out newcert.pem -infiles newreq.pem $CA -policy policy_anything -out newcert.pem -days "$DAYS" -infiles newreq.pem
RET=$? RET=$?
cat newcert.pem cat newcert.pem
echo "Signed certificate is in newcert.pem" echo "Signed certificate is in newcert.pem"