mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-23 05:33:06 +05:30
Fix the location of public and private keys
This is described in Issue #974
This commit is contained in:
parent
1177d6a3b5
commit
3001895fa9
@ -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