Update installation.md

Changing recommended bit length of RSA keys to 2048 as per NIST recommendations
This commit is contained in:
Andrew Millington 2017-12-23 13:44:34 +00:00 committed by GitHub
parent e160a1c148
commit bb998ae041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: To generate the private key run this command on the terminal:
{% highlight shell %} {% highlight shell %}
openssl genrsa -out private.key 1024 openssl genrsa -out private.key 2048
{% endhighlight %} {% endhighlight %}
If you want to provide a passphrase for your private key run this command instead: If you want to provide a passphrase for your private key run this command instead:
{% highlight shell %} {% highlight shell %}
openssl genrsa -passout pass:_passphrase_ -out private.key 1024 openssl genrsa -passout pass:_passphrase_ -out private.key 2048
{% endhighlight %} {% endhighlight %}
then extract the public key from the private key: then extract the public key from the private key: