]> jfr.im git - solanum.git/blobdiff - tools/genssl.in
tools/mkpasswd: functions that call exit(3) should be marked noreturn
[solanum.git] / tools / genssl.in
index f89913d28869e1298078488332b8d5077058856b..fa810e053b4003971ff66476c93235570cb191b0 100755 (executable)
@@ -4,7 +4,7 @@ exec_prefix="@exec_prefix@"
 sysconfdir="@sysconfdir@"
 
 echo "Generating private key and CSR... "
-openssl req -new -newkey rsa:2048 -nodes -sha512 -out "${sysconfdir}"/ssl.csr -keyout "${sysconfdir}"/ssl.key
+openssl req -new -newkey rsa:4096 -nodes -sha512 -out "${sysconfdir}"/ssl.csr -keyout "${sysconfdir}"/ssl.key
 
 echo "Self-signing certificate..."
 openssl x509 -req -sha512 -days 365 -in "${sysconfdir}"/ssl.csr -signkey "${sysconfdir}"/ssl.key -out "${sysconfdir}"/ssl.pem