Sfoglia il codice sorgente

Update jwt docs key generation.

release-8443
Дамян Минков 2 anni fa
parent
commit
296f5f91df
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2
    4
      doc/tokens.md

+ 2
- 4
doc/tokens.md Vedi File

23
 
23
 
24
 This is how you generate the keys:
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
 JWT authentication works with BOSH and WebSocket connections.
31
 JWT authentication works with BOSH and WebSocket connections.

Loading…
Annulla
Salva