psktool command examples

psktool command examples

psktool – GnuTLS PSK tool

To add a user ‘psk_identity’ in passwd.psk for use with GnuTLS run:

$ ./psktool -u psk_identity -p passwd.psk

Generating a random key for user ‘psk_identity’

Key stored to passwd.psk

$ cat psks.txt

This command will create passwd.psk if it does not exist and will add user ‘psk_identity’ (you will also be prompted for a password).


Leave a Reply

Your email address will not be published. Required fields are marked *