Community news, upcoming events and general discussions
Threads: 31 Posts: 81
Get technical support from the community
Threads: 1052 Posts: 5791
Threads: 15 Posts: 54
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 49 Posts: 237
I am trying to add security to MQTT in the new version of XDK Workbench. Before I can add username and passwords so that XDK can use this way to connect to MQTT broker. But now it requires server certificate authentication. Then it requires HTTPs server certificates. But I want to use my local MQTT broker. Is it possible?
And I also try to use SSL/TLS to connect to MQTT broker like AWS. Now I am using mosquito and I added ca.crt, server.crt and server.key to MQTT broker. When I choose MQTT_TYPE_AWS it can connect. So is it possible to use this way?
Thany you at first
to connect to MQTT with username and password try following application:
This is used for the XDK2MAM project to transmit the XDK Sensor values to the IOTA Tangle, a distributed ledger tecnology (DLT).
The part I linked above is the repo to the XDK code to setup the MQTT connection with the XDK.