From 0cfdcfb2fbd530123f629a03958828430bd89129 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 9 Mar 2015 23:03:32 +0100 Subject: [PATCH] fix bug where ca certs were only valid for some days. now its 10 years. --- certgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certgen.sh b/certgen.sh index b067d56..38c9a16 100755 --- a/certgen.sh +++ b/certgen.sh @@ -36,7 +36,7 @@ while read cdline ; do mkdir -m 0700 certs crl newcerts touch index.txt export CA_PATH="./" - openssl req -batch -new -x509 -newkey rsa:4096 -keyout ca.key -out ca.crt -nodes -subj "${certdata[2]}" -reqexts v3_ca_req -config "${MYPWD}/openssl.cnf" &>/dev/null + openssl req -batch -new -x509 -newkey rsa:4096 -keyout ca.key -out ca.crt -nodes -subj "${certdata[2]}" -reqexts v3_ca_req -config "${MYPWD}/openssl.cnf" -days 3650 &>/dev/null continue fi -- 2.43.0