tools/genssl: Make certificates last for 3560 days
This commit is contained in:
parent
b781b52396
commit
2a8868cfe3
|
@ -4,7 +4,7 @@ exec_prefix="@exec_prefix@"
|
||||||
sysconfdir="@sysconfdir@"
|
sysconfdir="@sysconfdir@"
|
||||||
|
|
||||||
echo "Generating self-signed certificate .. "
|
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 .. "
|
echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. "
|
||||||
openssl dhparam -out "${sysconfdir}"/dh.pem 2048
|
openssl dhparam -out "${sysconfdir}"/dh.pem 2048
|
||||||
|
|
Loading…
Reference in New Issue