From 2a8868cfe349c2485c8c34c734c00080cd23e96b Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Tue, 22 Apr 2014 12:22:33 -0700 Subject: [PATCH] tools/genssl: Make certificates last for 3560 days --- tools/genssl.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/genssl.sh.in b/tools/genssl.sh.in index 11b4c36..d1c0de7 100644 --- a/tools/genssl.sh.in +++ b/tools/genssl.sh.in @@ -4,7 +4,7 @@ exec_prefix="@exec_prefix@" sysconfdir="@sysconfdir@" echo "Generating self-signed certificate .. " -openssl req -x509 -nodes -newkey rsa:2048 -keyout "${sysconfdir}"/ssl.key -out "${sysconfdir}"/ssl.cert +openssl req -x509 -nodes -newkey rsa:2048 -keyout "${sysconfdir}"/ssl.key -out "${sysconfdir}"/ssl.cert -days 3560 echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. " openssl dhparam -out "${sysconfdir}"/dh.pem 2048