From bb998ae041c3c0cb55e6d02920a9b24689e371a6 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Sat, 23 Dec 2017 13:44:34 +0000 Subject: [PATCH] Update installation.md Changing recommended bit length of RSA keys to 2048 as per NIST recommendations --- installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation.md b/installation.md index de16146e..edae805b 100755 --- a/installation.md +++ b/installation.md @@ -25,13 +25,13 @@ The repositories are expected to return (on success) instances of [entity interf To generate the private key run this command on the terminal: {% highlight shell %} -openssl genrsa -out private.key 1024 +openssl genrsa -out private.key 2048 {% endhighlight %} If you want to provide a passphrase for your private key run this command instead: {% highlight shell %} -openssl genrsa -passout pass:_passphrase_ -out private.key 1024 +openssl genrsa -passout pass:_passphrase_ -out private.key 2048 {% endhighlight %} then extract the public key from the private key: @@ -58,4 +58,4 @@ To generate an encryption key for the `AuthorizationServer` run the following co {% highlight shell %} php -r 'echo base64_encode(random_bytes(32)), PHP_EOL;' -{% endhighlight %} \ No newline at end of file +{% endhighlight %}