mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Clarify where public and private key are used
This commit is contained in:
parent
0286160a22
commit
864cc9a65a
@ -22,7 +22,7 @@ The repositories are expected to return (on success) instances of [entity interf
|
|||||||
|
|
||||||
## Generating public and private keys
|
## Generating public and private keys
|
||||||
|
|
||||||
The public/private key pair is used to sign and verify JWTs tramsitted. To generate the private key run this command on the terminal:
|
The public/private key pair is used to sign and verify JWTs tramsitted. 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:
|
||||||
|
|
||||||
~~~ shell
|
~~~ shell
|
||||||
openssl genrsa -out private.key 2048
|
openssl genrsa -out private.key 2048
|
||||||
|
Loading…
Reference in New Issue
Block a user