From f27585fe994db372d39f177c98c77897c23aad70 Mon Sep 17 00:00:00 2001 From: Chl Date: Mon, 23 Nov 2020 01:43:02 +0100 Subject: [PATCH] openssl-little-CA: using for signing --- openssl-little-CA/CA.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl-little-CA/CA.sh b/openssl-little-CA/CA.sh index 185528f..ba5f41a 100755 --- a/openssl-little-CA/CA.sh +++ b/openssl-little-CA/CA.sh @@ -177,7 +177,7 @@ case $1 in exit $RET ;; -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=$? cat newcert.pem echo "Signed certificate is in newcert.pem"