# MQTT node in NodeRed

**URL:** <https://forums.losant.com/t/mqtt-node-in-nodered/1522>\
**Category:** Help\
**Tags:** mqtt, node\
**Created:** [February 11, 2019, 7:33pm UTC](https://forums.losant.com/t/mqtt-node-in-nodered/1522 "2019-02-11T19:33:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [February 11, 2019, 7:33pm UTC](https://forums.losant.com/t/mqtt-node-in-nodered/1522/1 "2019-02-11T19:33:40Z")

</div>

I’m trying to use the MQTT OUT node in Node-Red to post some data to your MQTT broker.  
The TLS confit for the broker are as screenshot below. Which option should I pick and where can I get the needed certificate?  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/bbe868a49060a1d7f8cd2f16a6b4bbe7331801b3.png)

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [February 11, 2019, 8:28pm UTC](https://forums.losant.com/t/mqtt-node-in-nodered/1522/2 "2019-02-11T20:28:31Z")

</div>

Hi Lars,

The CA Certificate can be found [here](https://github.com/Losant/losant-mqtt-ruby/blob/master/lib/losant_mqtt/RootCA.crt)!

Additionally, there is some [MQTT documentation](https://docs.losant.com/applications/integrations/#mqtt) that details a little more about certificates, and a [blog post](https://www.losant.com/blog/how-to-use-node-red-as-losant-gateway) on using Node RED as a gateway, which has some helpful tips.

Let me know if this helps,  
Julia
