tools/genssl: Make certificates last for 3560 days

This commit is contained in:
Sam Dodrill 2014-04-22 12:22:33 -07:00
parent b781b52396
commit 2a8868cfe3
1 changed files with 1 additions and 1 deletions

View File

@ -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