Преглед на файлове

Update jwt docs key generation.

release-8443
Дамян Минков преди 2 години
родител
ревизия
296f5f91df
променени са 1 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 2
    4
      doc/tokens.md

+ 2
- 4
doc/tokens.md Целия файл

@@ -23,11 +23,9 @@ provided public key on the given key server. An example structure can be view in
23 23
 
24 24
 This is how you generate the keys:
25 25
 ```
26
-openssl genrsa -out keypair.pem 2048
27
-openssl rsa -in keypair.pem -pubout -out publickey.pem
28
-openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out moderated.der
26
+openssl genrsa -out jitsi-private.pem 2048
27
+openssl rsa -in jitsi-private.pem -pubout -out jitsi-public.pem
29 28
 ```
30
-Get the private_key_id through this command echo -n [NAME_OF_PRIVATE_KEY.der] | shasum -a 256 and change the publickey.pem name to the fetched private_key_id
31 29
 
32 30
 
33 31
 JWT authentication works with BOSH and WebSocket connections.

Loading…
Отказ
Запис