mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 06:30:13 +05:30
Update installation.md
Changing recommended bit length of RSA keys to 2048 as per NIST recommendations
This commit is contained in:
parent
e160a1c148
commit
bb998ae041
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user