Just use 4k RSA certificates while at it
This commit is contained in:
parent
b858bc54f9
commit
3c55c3a355
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue