Just use 4k RSA certificates while at it

This commit is contained in:
Patrick Godschalk 2013-11-19 00:59:08 +01:00
parent b858bc54f9
commit 3c55c3a355
No known key found for this signature in database
GPG Key ID: E048E6B1ECC14594
1 changed files with 1 additions and 1 deletions

View File

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