Skip to content

[Question] TLS PSK Authentication #75

Open
@nolwad

Description

@nolwad

Is this library compatible with PSK Authentication? The MQTT server that my company has is set up for PSK based authentication and encryption and as such, I believe it doesn't use a root certificate, but rather a psk identity and key to be passed in when connecting as a client. As an example, when connecting from the terminal I'd put in this command to subscribe:

mosquitto_sub -h 160.36.60.20 -t 'test' -u username -P password -p 8883 --psk-identity user --psk 123456789

It works fine, but with the Arduino I can't input the psk information. Is there a way to do it with this library, or does psk need to be on the Arduino's crypto chip itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions