diff --git a/tools/genssl.sh.in b/tools/genssl.sh.in index 2e65f6553..fbdd7014b 100755 --- a/tools/genssl.sh.in +++ b/tools/genssl.sh.in @@ -7,7 +7,7 @@ echo "Generating self-signed certificate .. " openssl req -x509 -nodes -newkey rsa:1024 -keyout "${sysconfdir}"/ssl.key -out "${sysconfdir}"/ssl.cert echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. " -openssl dhparam -out "${sysconfdir}"/dh.pem 1024 +openssl dhparam -out "${sysconfdir}"/dh.pem 2048 # If sysconfdir is relative to prefix, make the path relative. I.e., # prefix=/usr and sysconfdir=/etc -> relative_sysconfdir=/etc,