Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Mosquitto PSK configuration

Hi Andrew,

We offer integrated uMQTT toolkit with TLS secure SDK and integrated with Mosquitto.
As a scalable model, typically we see X509 device certificate and key pair for 2WAY authentication.
For small scale installs PSK would be possible.    Factors such as MCU, available memory 
(ROM, RAM) and TCP (ethernet, WiFi, cellular) are considered when planning the project.

Please let me know if you want to go over the details and feel free to contact us directly.


Mark Post
Cypherbridge Systems

-------- Original Message --------
Subject: mosquitto-dev Digest, Vol 24, Issue 5
From: mosquitto-dev-request@xxxxxxxxxxx
Date: Wed, December 09, 2015 10:00 am
To: mosquitto-dev@xxxxxxxxxxx

Send mosquitto-dev mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mosquitto-dev digest..."

Today's Topics:

1. Mosquitto PSK configuration (Andrew Walsh)


Message: 1
Date: Wed, 9 Dec 2015 16:07:13 +0000
From: Andrew Walsh <Andrew.Walsh@xxxxxxxxxxxx>
To: "mosquitto-dev@xxxxxxxxxxx" <mosquitto-dev@xxxxxxxxxxx>
Subject: [mosquitto-dev] Mosquitto PSK configuration
Content-Type: text/plain; charset="us-ascii"


I wonder if I might ask a question, please?

Our company makes an MQTT client device, and we are running the Mosquitto broker on a number of servers. I'm working on encryption / security of our MQTT communications in our device firmware.

My current plan is to provide TLS, with one of the PSK cipher suites, on our device (PSK because our device is resource limited), which I think is supported by Mosquitto and OpenSSL. I know that I will need to define a PSK key file on the server(s) running Mosquitto, containing a number of identity-key pairs (my current thought is that this file will be modified/generated by our provisioning / manufacturing process).

My question is: what is the maximum number of identity-key pairs that can be defined in this file? Is there any practical limit?

Thanks for your help.


Andrew Walsh
Senior Firmware Engineer

Website<> | Facebook<!/pages/Gendis-Ltd/164632293588121?sk=info> | Map<> | Contact<>

Paxton House
Home Farm Road,
Brighton, BN1 9HU

tel (outside UK):

01273 811020
+44 1273 811020

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>


mosquitto-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

End of mosquitto-dev Digest, Vol 24, Issue 5

Back to the top