Skip to content

Commit 31c247b

Browse files
committed
Add JWT token note
1 parent a2bb66b commit 31c247b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ Commands above spin up everything needed. UI will be at localhost:6500
105105
1. Open http://localhost:6500 - there you can play with user `admin/admin`
106106

107107

108+
# JWT token key generation
109+
110+
1. `openssl genrsa -out key_priv 1024`
111+
2. `openssl rsa -in key_priv -pubout -outform PEM -out key.pem`
112+
3. `openssl pkcs8 -topk8 -inform PEM -in key_priv -out key -nocrypt`
113+
4. `rm -f key_priv`
114+
108115

109116
# Stub data
110117

0 commit comments

Comments
 (0)