Hi Ubidots Community,
I am trying to connect Node-RED with Ubidots following this guide here:
I was able to get the ubidots_mode working, but now I want to set up Node-RED + Ubidots using MQTT as shown in the final part of the guide (using the Node-Red mqtt out node). However, this guide doesn’t cover how to enable TLS.
These are the two nodes I am currently using (notice how the mqtt out node is currently disconnected):
From the mqtt out node that we set up, we can go into the properties:
and there is a checkbox to enable TLS which I have enabled (I have also already put in the Ubidots endpoint information). Now we can click on the pencil to go into the TLS configuration:
and we see the following TLS settings:
I found that there are some certificates provided to us in the Ubidots hardware HTTPS documentation: https://ubidots.com/docs/hw/#https
However, even after uploading these certificates (I tried both .PEM and .DER) into the “CA Certificate” setting, the mqtt node was still unable to connect to Ubidots. Is it possible Ubidots has to provide other Certificates for this to work?
I would greatly appreciate if someone from Ubidots could try uploading the certificates themself and let me know if they are able to connect to Ubidots via the Node-Red MQTT node. Or perhaps is there anything wrong with my configuration? (E.g. I have not enabled the legacy MQTT 3.1 support).
Thanks!
(Edit: I realised that Ubidots cropped some of my images to automatically fit on the page, so you may need to click on the image to see the full image.)