PSK Authentication

PSK certification

If you want to use PSK authentication, you need to comment out listener.ssl.external.ciphers in TLS authentication, and then configure listener.ssl.external.psk_ciphers:

#listener.ssl.external.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,...
listener.ssl.external.psk_ciphers = PSK-AES128-CBC-SHA,PSK-AES256-CBC-SHA,PSK-3DES-EDE-CBC-SHA,PSK-RC4-SHA

Create module

Open EMQ X Dashboard, click the "Modules" tab on the left, and choose to add:


Choose PSK certification


Configure related parameters


After clicking add, the module is added


The PSK configuration file is psk.txt, use a colon : to separate PSK ID and PSK:

bash client1:1234 client2:abcd

results matching ""

    No results matching ""