I’m reading about configuring Twake at https://doc.twake.app/configuration/security. I don’t understand what format pusher_public
and pusher_private
in websocket
and encryption_key
in db
are (both are fields in the [docker-compose.yml location]/configuration/backend/Parameters.php
file).
What are they used for specifically and how can I generate them on Linux?
Why does pusher_public
begin with -----BEGIN PUBLIC KEY-----
, but pusher_private
- with -----BEGIN RSA PRIVATE KEY-----
(note the added “RSA” part that’s lacking in the public key).
I tried to generate them with ssh-keyget -t rsa
, but the keys were of a different length (larger than the ones in the example. I couldn’t find any documentation regarding the keys. This is my first time installing Twake (via Docker).