mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Merge pull request #976 from krozinov/patch-1
Fix the location of public and private keys
This commit is contained in:
commit
6235cb2cb8
@ -22,7 +22,7 @@ The repositories are expected to return (on success) instances of [entity interf
|
||||
|
||||
## Generating public and private keys
|
||||
|
||||
The public/private key pair is used to sign and verify JWTs transmitted. The _Authorization Server_ possesses the public key to sign tokens and the _Resource Server_ possesses the corresponding private key to verify the signatures. To generate the private key run this command on the terminal:
|
||||
The public/private key pair is used to sign and verify JWTs transmitted. The _Authorization Server_ possesses the private key to sign tokens and the _Resource Server_ possesses the corresponding public key to verify the signatures. To generate the private key run this command on the terminal:
|
||||
|
||||
~~~ shell
|
||||
openssl genrsa -out private.key 2048
|
||||
|
Loading…
Reference in New Issue
Block a user